crash

@JvmStatic open fun crash(crashDate: Date, wasCrashDetectedBySentiance: Boolean, @Nullable crashLocation: Coordinates): VehicleCrashDetectionFeedback

Creates feedback for a vehicle crash that occurred on the specified date, with an optional crash location. Use this to report crashes that either were or were not detected by the Sentiance SDK.

Return

A VehicleCrashDetectionFeedback instance with the provided input.

Parameters

crashDate

the date of the crash event reported by the Sentiance SDK, or if a crash was not detected, the date of the actual crash.

wasCrashDetectedBySentiance

whether the Sentiance SDK detected and reported the crash.

crashLocation

The location where the crash happened.