public interfaceDeviceOrientationListener
A listener for receiving device orientation from theFusedOrientationProviderClient
.
The listener can be registered by calling
FusedOrientationProviderClient.requestOrientationUpdates(DeviceOrientationRequest, Executor,
DeviceOrientationListener)
.
Public Method Summary
abstract void |
onDeviceOrientationChanged(DeviceOrientation
deviceOrientation)
Invoked when a new
DeviceOrientation
is available.
|
Public Methods
public abstract voidonDeviceOrientationChanged(DeviceOrientation deviceOrientation)
Invoked when a newDeviceOrientation
is available.