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
/
FakeMapPrefs
Fake
Map
Prefs
class
FakeMapPrefs
:
MapPrefs
(
source
)
Members
Constructors
Fake
Map
Prefs
Link copied to clipboard
constructor
(
)
Properties
hidden
Layer
Urls
Link copied to clipboard
open
override
val
hiddenLayerUrls
:
MutableStateFlow
<
Set
<
String
>
>
layer
Opacity
Link copied to clipboard
open
override
val
layerOpacity
:
MutableStateFlow
<
Set
<
String
>
>
map
Filters
Link copied to clipboard
open
override
val
mapFilters
:
MutableStateFlow
<
MapFilterPrefs
>
map
Style
Link copied to clipboard
open
override
val
mapStyle
:
MutableStateFlow
<
Int
>
network
Map
Layers
Link copied to clipboard
open
override
val
networkMapLayers
:
MutableStateFlow
<
Set
<
String
>
>
Functions
await
Camera
Position
Link copied to clipboard
open
suspend override
fun
awaitCameraPosition
(
)
:
MapCameraPosition
?
await
Hidden
Layer
Urls
Link copied to clipboard
open
suspend override
fun
awaitHiddenLayerUrls
(
)
:
Set
<
String
>
await
Map
Style
Link copied to clipboard
open
suspend override
fun
awaitMapStyle
(
)
:
Int
await
Network
Map
Layers
Link copied to clipboard
open
suspend override
fun
awaitNetworkMapLayers
(
)
:
Set
<
String
>
set
Camera
Position
Link copied to clipboard
open
override
fun
setCameraPosition
(
position
:
MapCameraPosition
)
set
Map
Style
Link copied to clipboard
open
override
fun
setMapStyle
(
style
:
Int
)
update
Hidden
Layer
Urls
Link copied to clipboard
open
override
fun
updateHiddenLayerUrls
(
transform
:
(
Set
<
String
>
)
->
Set
<
String
>
)
update
Layer
Opacity
Link copied to clipboard
open
override
fun
updateLayerOpacity
(
transform
:
(
Set
<
String
>
)
->
Set
<
String
>
)
update
Map
Filters
Link copied to clipboard
open
override
fun
updateMapFilters
(
transform
:
(
MapFilterPrefs
)
->
MapFilterPrefs
)
update
Network
Map
Layers
Link copied to clipboard
open
override
fun
updateNetworkMapLayers
(
transform
:
(
Set
<
String
>
)
->
Set
<
String
>
)