enableOrientationEvents abstract method

void enableOrientationEvents(
  1. int enabled
)

Starts emitting CameraEventType.orientationChanged events for physical device rotation (via the native orientation sensor listener — works even when the UI orientation is locked). enabled: 1 = on, 0 = off.

Implementation

void enableOrientationEvents(int enabled);