healbesdk / com.healbe.healbesdk.business_api.healthdata.data.sleep / AnxietyData

AnxietyData

data class AnxietyData : SampleData

Sample data with information of anxiety level during measurement period.

Properties

anxietyLevel

val anxietyLevel: Int

anxiety level during measurement period

timestampEnd

val timestampEnd: Timestamp

End of the sample in UNIX-timestamp.

timestampStart

val timestampStart: Timestamp

Beginning of the sample in UNIX-timestamp.

Extension Functions

getSampleDuration

fun SampleData.getSampleDuration(units: TimeUnit = TimeUnit.SECONDS): Long

Returns sample duration in specified units. Default units: TimeUnit.SECONDS.