CLEAR

LongPressGesture


The LongPressGesture class contains the details of a detected long-press gesture.

Properties

PropertyDescription

location

(get) location: PixelPointSignal (set) (Not Available)

Specifies a PixelPointSignal that represents the location of the gesture in screen coordinates.

Note: The location is always specified in the screen coordinates, even if the event was emitted as a result of long pressing on a specific object.

state (inherited from Gesture)

(get) state: StringSignal (set) (Not Available) Specifies a StringSignal representing the current gesture state. The value is a member of the Gesture.State enum.

type (inherited from Gesture)

(get) type: Gesture.Type (set) (Not Available)

Specifies a Gesture.Type enum value representing the type of gesture detected.

To use this property, enable pre-release APIs in your project manifest.

Methods

This class exposes no methods.