Tempo Tracking Update
@JsonClass(generateAdapter = true )
Content copied to clipboard
After TempoService is started, callbacks are received as onTempoTrackingUpdate with TempoTrackingUpdate class it consists of eta, etaDirection calculated by Bluedot for the assigned destination.
Example:
{
"triggerChainId": "30add2f5-ac7b-42cc-8799-cf8d4729579e",
"eta": 60,
"etaDirection": "lessThan",
"destination": {
"destinationId": "002",
"name": "Tempo Zone 002",
"location": {
"latitude": -38.12203660000001,
"longitude": 145.1404072
}
}
}
Content copied to clipboard
Constructors
Link copied to clipboard
fun TempoTrackingUpdate( triggerChainId: String?, eta: Int?, etaDirection: String?, destination: Destination?)
Content copied to clipboard