FusedOrientationProvider

constructor(orientationClient: FusedOrientationProviderClient, deviceOrientationRequest: DeviceOrientationRequest, coroutineScope: CoroutineScope, sharingStarted: SharingStarted)(source)

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