VehicleCrashEvent
Represents a vehicle crash event detected by the Sentiance SDK.
VehicleCrashEvent API
getConfidence()
getConfidence()
int getConfidence()
Returns a confidence value between 0 and 100.
getDeltaV()
getDeltaV()
float getDeltaV()
Returns the delta-v estimated over the peak duration, in meter per second.
getDetectorMode()
getDetectorMode()
VehicleCrashDetectorMode getDetectorMode()
Specifies the crash detection mode that was active when this crash event was detected. See VehicleCrashDetectorMode. The SDK supports multiple detection modes, each optimized for specific vehicle types. For example, in 'car' mode, crash detection is limited to incidents involving cars. The appropriate detection mode is automatically selected by the SDK based on several factors.
getLocation()
getLocation()
Location getLocation()
Returns the last known location prior to the crash.
getMagnitude()
getMagnitude()
float getMagnitude()
Returns the magnitude of the crash event in meter per second squared.
getPrecedingLocations()
getPrecedingLocations()
List<Location> getPrecedingLocations()
Returns a list of recent locations (from the oldest to the most recent) leading up to this crash, within a certain timeframe.
getSeverity()
getSeverity()
VehicleCrashSeverity getSeverity()
Returns the severity of the crash event. See VehicleCrashSeverity.
getSpeedAtImpact()
getSpeedAtImpact()
float getSpeedAtImpact()
Returns the inferred speed at the moment of impact, in meter per second.
getTime()
getTime()
long getTime()
Returns the UTC time of the crash event in milliseconds.
Last updated