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
/
FakeMeshLogPrefs
Fake
Mesh
Log
Prefs
class
FakeMeshLogPrefs
:
BaseFake
,
MeshLogPrefs
(
source
)
Members
Constructors
Fake
Mesh
Log
Prefs
Link copied to clipboard
constructor
(
)
Properties
logging
Enabled
Link copied to clipboard
open
override
val
loggingEnabled
:
MutableStateFlow
<
Boolean
>
retention
Days
Link copied to clipboard
open
override
val
retentionDays
:
MutableStateFlow
<
Int
>
Functions
reset
Link copied to clipboard
open
fun
reset
(
)
Resets all registered state flows and custom actions to their initial state.
set
Logging
Enabled
Link copied to clipboard
open
override
fun
setLoggingEnabled
(
enabled
:
Boolean
)
set
Retention
Days
Link copied to clipboard
open
override
fun
setRetentionDays
(
days
:
Int
)