DriveMotionAlert
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 |
TNDriveSpeedingAlertEvent
Attribute | Type | Default | Required | Description |
---|---|---|---|---|
alertEvent | TNAlertEvent | Yes | Trip Alert Event |
TNAlertEvent
Attribute | Type | Default | Required | Description |
---|---|---|---|---|
alertEventType | TNAlertEventType | Yes | Alert type | |
alertEventTime | Date | Yes | The time when the alert was detected | |
alertEventLocation | TNLocation | Yes | The location when the alert was detected | |
alertEventLevel | String | No | Alert event level | |
alertEventDetails | Array<TNAlertEventItem> | No | Alert event details |
TNAlertEventType
label | Name |
---|---|
SpeedingAlert | SPEEDING_ALERT |
TNAlertEventItem
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 | TNLocation | No | The start location for current alert item | |
itemEndTime | Date | No | The nearest time for current alert item | |
itemEndLocation | TNLocation | No | The nearest location for current alert item |