touchGesturesStates property
Get enabled touch gestures bitfield.
Returns
An int bitfield representing enabled TouchGestures.
See also:
- enableTouchGestures - Enable or disable specific gestures.
- isTouchGestureEnabled - Check if a specific gesture is enabled.
Implementation
int get touchGesturesStates {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'getTouchGesturesStates',
dependencyId: _mapPointerId,
);
return resultString['result'];
}
Set enabled touch gestures via bitfield.
Parameters
enabledTouchGesturesBitfield: Packed TouchGestures bitfield.
See also:
- TouchGestures - Available gesture types.
Implementation
set touchGesturesStates(final int enabledTouchGesturesBitfield) {
objectMethod(
_pointerId,
'MapViewPreferences',
'setTouchGesturesStates',
args: enabledTouchGesturesBitfield,
dependencyId: _mapPointerId,
);
}