Meshtastic App
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Meshtastic App
Meshtastic App
/
com.geeksville.mesh.model
/
DebugViewModel
Debug
View
Model
class
DebugViewModel
@
Inject
constructor
(
meshLogRepository
:
MeshLogRepository
,
radioConfigRepository
:
RadioConfigRepository
)
:
ViewModel
,
Logging
Members
Constructors
Debug
View
Model
Link copied to clipboard
@
Inject
constructor
(
meshLogRepository
:
MeshLogRepository
,
radioConfigRepository
:
RadioConfigRepository
)
Types
Companion
Link copied to clipboard
object
Companion
Ui
Mesh
Log
Link copied to clipboard
@
Immutable
data
class
UiMeshLog
(
val
uuid
:
String
,
val
messageType
:
String
,
val
formattedReceivedDate
:
String
,
val
logMessage
:
String
,
val
decodedPayload
:
String
?
=
null
)
Properties
current
Match
Index
Link copied to clipboard
val
currentMatchIndex
:
StateFlow
<
Int
>
filtered
Logs
Link copied to clipboard
val
filteredLogs
:
StateFlow
<
List
<
DebugViewModel.UiMeshLog
>
>
filter
Manager
Link copied to clipboard
val
filterManager
:
LogFilterManager
filter
Texts
Link copied to clipboard
val
filterTexts
:
StateFlow
<
List
<
String
>
>
mesh
Log
Link copied to clipboard
val
meshLog
:
StateFlow
<
ImmutableList
<
DebugViewModel.UiMeshLog
>
>
preset
Filters
Link copied to clipboard
val
presetFilters
:
List
<
String
>
search
Manager
Link copied to clipboard
val
searchManager
:
LogSearchManager
search
State
Link copied to clipboard
val
searchState
:
StateFlow
<
LogSearchManager.SearchState
>
search
Text
Link copied to clipboard
val
searchText
:
StateFlow
<
String
>
selected
Log
Id
Link copied to clipboard
val
selectedLogId
:
StateFlow
<
String
?
>
Functions
delete
All
Logs
Link copied to clipboard
fun
deleteAllLogs
(
)
:
Job
set
Selected
Log
Id
Link copied to clipboard
fun
setSelectedLogId
(
id
:
String
?
)
update
Filtered
Logs
Link copied to clipboard
fun
updateFilteredLogs
(
logs
:
List
<
DebugViewModel.UiMeshLog
>
)