FakeLocationRepository

A test double for LocationRepository that provides a manual location emission mechanism.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val receivingLocationUpdates: StateFlow<Boolean>

Functions

Link copied to clipboard
suspend fun emitLocation(location: Location)
Link copied to clipboard
open override fun getLocations(): Flow<Location>
Link copied to clipboard