Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-testing
/
org.meshtastic.core.testing
/
FakeLocationRepository
Fake
Location
Repository
class
FakeLocationRepository
:
LocationRepository
(
source
)
A test double for
LocationRepository
that provides a manual location emission mechanism.
Members
Constructors
Fake
Location
Repository
Link copied to clipboard
constructor
(
)
Properties
receiving
Location
Updates
Link copied to clipboard
open
override
val
receivingLocationUpdates
:
StateFlow
<
Boolean
>
Functions
emit
Location
Link copied to clipboard
suspend
fun
emitLocation
(
location
:
Location
)
get
Locations
Link copied to clipboard
open
override
fun
getLocations
(
)
:
Flow
<
Location
>
set
Receiving
Location
Updates
Link copied to clipboard
fun
setReceivingLocationUpdates
(
receiving
:
Boolean
)