Driver alert in case of crash
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:
DriveKitTripAnalysisUI.shared.enableCrashFeedback(roadsideAssistanceNumber: String, config: DKCrashFeedbackConfig)
With the following parameters:
To disable crash detection feedback, call the following method:
To simulate a car accident, simply install the trip simulator and start a simulation with the configuration
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.