OrientationManager

Listens to CameraOrientation changes of the device or the interface.

See also

Properties

Link copied to clipboard

The current CameraOrientation, or null if it is not known yet.

Link copied to clipboard

The OrientationSource this manager tracks.

Functions

Link copied to clipboard
abstract fun startOrientationUpdates(onChanged: (orientation: CameraOrientation) -> Unit)

Starts listening to orientation changes, calling onChanged with each new orientation.

Link copied to clipboard
abstract fun stopOrientationUpdates()

Stops listening to orientation changes.