FusedHeadingProvider
A HeadingProvider backed by the Google Play Services FusedOrientationProviderClient.
DeviceOrientation.headingDegrees maps to HeadingMeasurement.bearing. HeadingMeasurement.reference is HeadingReference.TrueOrMagneticNorth because Google Play Services uses true north when magnetic declination is available and magnetic north otherwise. The API does not report the selected reference. The DeviceOrientation.headingErrorDegrees maps to its accuracy. The value 180, which denotes complete ignorance, maps to null.
Parameters
orientationClient
Client used to request orientation updates.