Driver alert in case of crash
Last updated
Last updated
The crash detection feature includes an interface that informs the driver that a crash has been detected so he can confirm it to automatically call for help if needed.
By default, the crash detection feedback is disabled. When this feature is enabled, the crash detection feedback displays a notification or a screen and calls an emergency number when a crash is confirmed by the driver.
To enable crash detection feedback, the following method needs to be called:
With the following parameters:
Attribute | Type | Description |
---|---|---|
DKCrashFeedbackConfig
Attribute | Type | Description |
---|---|---|
DKCrashFeedbackNotification
Attribute | Type | Description |
---|---|---|
DKCrashAlert
To disable crash detection feedback, call the following method:
In order to check your integration and test the crash detection feature, you can use the trip simulator described in section simulate a crash during a trip.
To simulate a car accident, simply install the trip simulator and start a simulation with the configuration tripWithCrash
.
Our platform can share a collision report that contains information about the accident.
This information can be used to:
trigger the intervention of an assistance service,
and initiate the accident management process.
If you want to know more and if you need to collect crash data on your platform, we invite you to contact us by email at contact@drivequant.com
Attribute | Description |
---|---|
roadsideAssistanceNumber
String
Emergency number that will be called if there is a crash.
config
DKCrashFeedbackConfig
Configuration of the feedback.
notification
DKCrashFeedbackNotification
Configuration of the notification.
crashVelocityThreshold
Double
Minimal speed when the crash occurred. For example, if crashVelocityThreshold is set at 20 km/h and a crash occurred at 10 km/h, feedback will not be sent to the user. Default value : 0.0 km/h
title
String
Title that appears on the notification.
message
String
Message that appears on the notification
crashAlert
DKCrashAlert
Object that describes how the user will be noticed when a feedback is asked. Default value : SILENCE
silence
Device will not vibrate or ring
vibration
Device will vibrate
soundAndVibration
Device will ring and vibrate