DebugViewModel

class DebugViewModel @Inject constructor(meshLogRepository: MeshLogRepository, radioConfigRepository: RadioConfigRepository) : ViewModel, Logging

Constructors

Link copied to clipboard
@Inject
constructor(meshLogRepository: MeshLogRepository, radioConfigRepository: RadioConfigRepository)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class UiMeshLog(val uuid: String, val messageType: String, val formattedReceivedDate: String, val logMessage: String, val decodedPayload: String? = null)

Properties

Link copied to clipboard
val currentMatchIndex: StateFlow<Int>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val filterTexts: StateFlow<List<String>>
Link copied to clipboard
val meshLog: StateFlow<ImmutableList<DebugViewModel.UiMeshLog>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val searchText: StateFlow<String>
Link copied to clipboard
val selectedLogId: StateFlow<String?>

Functions

Link copied to clipboard
fun deleteAllLogs(): Job
Link copied to clipboard