App-Support > healthstack.app.status > SleepSessionStatus

SleepSessionStatus

[androidJvm]
object SleepSessionStatus : HealthStatus

An object representing the status of sleep sessions.

Functions

Name Summary
getIcon

[androidJvm]
open override fun getIcon(): Int
Returns the icon resource ID for sleep sessions.

getLatestStatus

[androidJvm]
open suspend override fun getLatestStatus(): Any?
Returns an Instant representing midnight of the current day.

getUnitString

[androidJvm]
open override fun getUnitString(): String
Returns the unit string for sleep sessions.

toViewModel

[androidJvm]
open override fun toViewModel(): SleepSessionStatusViewModel