App-Support > healthstack.app.status > HealthStatus

HealthStatus

[androidJvm]
abstract class HealthStatus : StatusDataType

Constructors

HealthStatus

[androidJvm]
fun HealthStatus()

Functions

Name Summary
getIcon

[androidJvm]
abstract fun getIcon(): Int
Returns the icon resource ID for this health data type.

getLatestStatus

[androidJvm]
abstract suspend fun getLatestStatus(): Any?
Returns the unit string for this health data type.

getUnitString

[androidJvm]
abstract fun getUnitString(): String
Returns the unit string for this health data type.

toViewModel

[androidJvm]
abstract fun toViewModel(): HealthStatusViewModel

Inheritors

Name
SampleHealthDataStatus

SleepSessionStatus