MockLocationManager

class MockLocationManager(val locationPermission: LocationPermission, val events: MutableSharedFlow<LocationManager.Event>, val locations: MutableSharedFlow<Location.KnownLocation>) : LocationManager

Constructors

Link copied to clipboard
constructor(locationPermission: LocationPermission, events: MutableSharedFlow<LocationManager.Event>, locations: MutableSharedFlow<Location.KnownLocation>)

Properties

Link copied to clipboard
open override val events: MutableSharedFlow<LocationManager.Event>
Link copied to clipboard
Link copied to clipboard
open override val locations: MutableSharedFlow<Location.KnownLocation>

Functions

Link copied to clipboard
open override fun isLocationEnabled(): Boolean
Link copied to clipboard
open suspend override fun requestEnableLocation()
Link copied to clipboard
open suspend override fun startMonitoringLocation()
Link copied to clipboard
open suspend override fun startMonitoringLocationEnabled()
Link copied to clipboard
open suspend override fun startMonitoringPermissions()
Link copied to clipboard
open suspend override fun stopMonitoringLocation()
Link copied to clipboard
open suspend override fun stopMonitoringLocationEnabled()
Link copied to clipboard
open suspend override fun stopMonitoringPermissions()