//app-support/healthstack.app.viewmodel/HealthStatusViewModel

HealthStatusViewModel

[androidJvm]
abstract class HealthStatusViewModel(healthStatus: HealthStatus, intervalTimeMillis: Long) : ViewModel

Constructors

   
HealthStatusViewModel [androidJvm]
fun HealthStatusViewModel(healthStatus: HealthStatus, intervalTimeMillis: Long)

Functions

Name Summary
addCloseable [androidJvm]
open fun addCloseable(@NonNullp0: Closeable)
clear [androidJvm]
@MainThread
fun clear()
getTag [androidJvm]
open fun <T : Any> getTag(p0: String): T
onCleared [androidJvm]
open fun onCleared()
setTagIfAbsent [androidJvm]
open fun <T : Any> setTagIfAbsent(p0: String, p1: T): T

Properties

Name Summary
healthState [androidJvm]
val healthState: StateFlow<HealthState>
lifecycle [androidJvm]
var lifecycle: Lifecycle.Event

Inheritors

Name
HeartRateStatusViewModel
SleepSessionStatusViewModel