ActivityRecord

@JsonClass(generateAdapter = true)
data class ActivityRecord(val probableActivities: List<ProbableActivity> = emptyList(), val timestamp: String)

Represents an activity record with probable activities and a timestamp.

Example JSON:

{
"probableActivities": [
{
"type": "WALKING",
"confidence": 0.9
},
{
"type": "STILL",
"confidence": 0.1
}
],
"timestamp": "2023-10-01T08:00:00.000Z"
}

Constructors

Link copied to clipboard
constructor(probableActivities: List<ProbableActivity> = emptyList(), timestamp: String)

Properties

Link copied to clipboard