RawSignal

@JsonClass(generateAdapter = true)
data class RawSignal(val activityRecord: ActivityRecord?, val position: Position?)

Represents a raw signal containing activity and position data.

Example JSON:

{
"activityRecord": {
"probableActivities": [
{
"type": "WALKING",
"confidence": 0.9
},
{
"type": "STILL",
"confidence": 0.1
}
],
"timestamp": "2023-10-01T08:00:00.000Z"
},
"position": {
"LatLng": "40.712776°, -74.005974°",
"accuracyMeters": 5,
"altitudeMeters": 10.0,
"source": "GPS",
"timestamp": "2023-10-01T08:00:00.000Z",
"speedMetersPerSecond": 1.5
}
}

Constructors

Link copied to clipboard
constructor(activityRecord: ActivityRecord?, position: Position?)

Properties

Link copied to clipboard
Link copied to clipboard