healbesdk / com.healbe.healbesdk.business_api.healthdata.data.stress / CurrentStressDuration

CurrentStressDuration

data class CurrentStressDuration

Current stress state and its duration.

Properties

state

val state: StressState

current stress state

Functions

getDuration

fun getDuration(units: TimeUnit = TimeUnit.MINUTES): Long

Returns current stress state duration in specified units. Default units: TimeUnit.MINUTES.