FusedOrientationProvider
class FusedOrientationProvider(orientationClient: FusedOrientationProviderClient, deviceOrientationRequest: DeviceOrientationRequest, coroutineScope: CoroutineScope, sharingStarted: SharingStarted) : OrientationProvider(source)
A OrientationProvider based on a DeviceOrientationRequest for FusedOrientationProviderClient
Parameters
orientationClient
the FusedOrientationProviderClient to use
deviceOrientationRequest
the DeviceOrientationRequest to use
coroutineScope
the CoroutineScope used to share the orientation flow
sharingStarted
parameter for stateIn call of orientation