CrashCallback
Last updated
Last updated
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to https://docs.sentiance.com.
This interface is deprecated. Use VehicleCrashListener
instead. See setVehicleCrashListener(VehicleCrashListener)
.
This interface is used with setCrashCallback(CrashCallback)
.
onCrash()
Called when a vehicle crash is detected during a trip.
time
The UTC time of the detected crash in milliseconds.
lastKnownLocation
A object indicating the last known location of the device when the crash was detected.