OHOS::UIView::OnLongPressListener

Overview

Related Modules:

Graphic

Description:

Defines a long-press event listener. You need to register this listener with the view to listen to long-press events.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name Description
OnLongPress (UIView &view, const LongPressEvent &event) virtual bool Called when a view is long pressed.
~OnLongPressListener () virtual A destructor used to delete the OnLongPressListener instance.
operator new (size_t size) void Overrides the new function.
operator delete (void p) void Overrides the delete function.