App-Support > healthstack.app.status > StatusDataType

StatusDataType

[androidJvm]
abstract class StatusDataType

An abstract class representing a type of health data for which status information can be retrieved.

Constructors

StatusDataType

[androidJvm]
fun StatusDataType()

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.

Inheritors

Name
HealthStatus

TaskStatus