tiltGesturesEnabled property

bool get tiltGesturesEnabled
override

Specifies whether tilt gestures (e.g., two-finger parallel pan) are enabled.

Example:

// Set tilt gestures enabled
_locationWindow!.tiltGesturesEnabled = true;
print("Set tilt gestures enabled to true");

Implementation

bool get tiltGesturesEnabled {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Uint8 Function(Pointer<Void>),
        int Function(Pointer<Void>)
      >('navigine_sdk_flutter_LocationWindow_tiltGesturesEnabled_get'));

    final _tiltGesturesEnabledHandle = _getFfi(this.ptr);
    final _result = (_tiltGesturesEnabledHandle != 0);
    exception.checkCallResult();
    return _result;
}
set tiltGesturesEnabled (bool tiltGesturesEnabled)
override

Implementation

set tiltGesturesEnabled(bool tiltGesturesEnabled) {
    final _setFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Void Function(Pointer<Void>, Uint8),
        void Function(Pointer<Void>, int)
      >('navigine_sdk_flutter_LocationWindow_tiltGesturesEnabled_set'));
    _setFfi(this.ptr, (tiltGesturesEnabled ? 1 : 0));
    exception.checkCallResult();
}