# OHOS::UIView::OnTouchListener ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Defines a touch event listener. You need to register this listener with the view to listen to touch events. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions
OnPress (UIView &view, const PressEvent &event) |
|
OnRelease (UIView &view, const ReleaseEvent &event) |
|
OnCancel (UIView &view, const CancelEvent &event) |
|
A destructor used to delete the OnTouchListener instance. |
|
operator new (size_t size) |
|
operator delete (void *p) |