Hubro Connect
Toggle table of contents
1.4.3
common
Target filter
common
Switch theme
Search in API
Skip to content
Hubro Connect
Hubro Connect
/
no.hubroplatform.hubroconnect
/
SleepRecord
Sleep
Record
@
Serializable
@
SerialName
(
value
=
"sleep"
)
data
class
SleepRecord
(
val
startTime
:
Instant
,
val
endTime
:
Instant
,
val
stage
:
Int
)
:
IntervalRecord
Captures the user's sleep data.
Members
Constructors
Sleep
Record
Link copied to clipboard
constructor
(
startTime
:
Instant
,
endTime
:
Instant
,
stage
:
Int
)
Properties
data
Type
Link copied to clipboard
open
override
val
dataType
:
HealthDataType
end
Time
Link copied to clipboard
open
override
val
endTime
:
Instant
End time of the record.
stage
Link copied to clipboard
val
stage
:
Int
start
Time
Link copied to clipboard
open
override
val
startTime
:
Instant
Start time of the record.
type
Identifier
Link copied to clipboard
open
override
val
typeIdentifier
:
Int
=
10