public interface DeviceOrientationListener

A listener for receiving device orientation from the FusedLocationProviderClient.

The listener can be registered by calling FusedLocationProviderClient.requestDeviceOrientationUpdates(DeviceOrientationRequest, DeviceOrientationListener, Looper).

Public Method Summary

abstract void
onDeviceOrientationChanged(DeviceOrientation deviceOrientation)
Invoked when a new DeviceOrientation is available.

Public Methods

public abstract void onDeviceOrientationChanged (DeviceOrientation deviceOrientation)

Invoked when a new DeviceOrientation is available.