//app-support/healthstack.app.status/SampleHealthDataStatus
SampleHealthDataStatus
[androidJvm]
abstract class SampleHealthDataStatus(healthDataName: String) : HealthStatus
Returns the data key used to extract the heart rate status information.
Return
The data key.
Constructors
SampleHealthDataStatus | [androidJvm] fun SampleHealthDataStatus(healthDataName: String) |
Functions
Name | Summary |
---|---|
getDataKey | [androidJvm] abstract fun getDataKey(): String Returns the data key used to extract the status information. |
getIcon | [androidJvm] abstract fun getIcon(): Int Returns the icon resource ID for this health data type. |
getLatestStatus | [androidJvm] open suspend override fun getLatestStatus(): Any? Retrieves the latest status information 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 |
---|
HeartRateStatus |