AlertReceiverEvent
Common Alert Data
Attribute | Type | Default | Required | Description |
---|---|---|---|---|
tripId | String | Yes | Trip id | |
sessionId | String | Yes | The session ID of the application and Drive Motion SDK | |
time | Date | Yes | Broadcast event time |
SpeedingAlertEvent
Attribute | Type | Default | Required | Description |
---|---|---|---|---|
alertEvent | AlertEvent | Yes | Trip Alert Event |
AlertEvent
Attribute | Type | Default | Required | Description |
---|---|---|---|---|
alertEventType | AlertEventType | Yes | Alert type | |
alertEventTime | Date | Yes | The time when the alert was detected. | |
alertEventLocation | Location | Yes | The location when the alert was detected. | |
alertEventLevel | String | No | Alert event level | |
alertEventDetails | List<AlertEventItem> | No | Alert event details |
AlertEventType
label | Name |
---|---|
SpeedingAlert | SPEEDING_ALERT |
AlertEventItem
Attribute | Type | Default | Required | Description |
---|---|---|---|---|
itemType | String | No | Alert item type | |
itemLevel | EventLevel | No | Alert item level | |
itemStartTime | Date | No | The start time for current alert item. | |
itemStartLocation | Location | No | The start location for current alert item. | |
itemEndTime | Date | No | The nearest time for current alert item. | |
itemEndLocation | Location | No | The nearest location for current alert item. |