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

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()