Gesture

The Gesture class encapsulates details of a detected gesture.

Properties

PropertyDescription
state
(get) state: StringSignal
(set) (Not Available)

Specifies a [StringSignal](/docs/camera-effects/reference/reactive_module/stringsignal_class) representing the current gesture state. The value is a member of the [TouchGesturesModule.Gesture.State](/docs/camera-effects/reference/gesture_state_enum) enum.
type
(get) type: TouchGesturesModule.Gesture.Type
(set) (Not Available)


Specifies a [TouchGesturesModule.Gesture.Type](/docs/camera-effects/reference/type_enum) enum value representing the type of gesture detected.

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

Methods

This module exposes no methods.

Enums

EnumDescription
StateThe State enum describes the state of a Gesture.
TypeThe Type enum describes a touch gesture.