> For the complete documentation index, see [llms.txt](https://docs.sentiance.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sentiance.com/sdk/api-reference/android/feedback/vehiclecrashdetectionfeedback.md).

# VehicleCrashDetectionFeedback

This class is used for submitting feedback about a vehicle crash to the Sentiance SDK. See [submitVehicleCrashDetectionFeedback](/sdk/api-reference/android/feedback/feedbackapi.md).

## VehicleCrashDetectionFeedback API

### `crash()`

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.

Returns a VehicleCrashDetectionFeedback instance with the provided input.

```java
static VehicleCrashDetectionFeedback crash(
        Date crashDate, 
        boolean wasCrashDetectedBySentiance, 
        @Nullable Coordinates crashLocation
);
```

<table><thead><tr><th width="271.24127197265625">Parameters</th><th></th></tr></thead><tbody><tr><td>crashDate</td><td>The date of the crash event reported by the Sentiance SDK, or if a crash was not detected, the date of the actual crash.</td></tr><tr><td>wasCrashDetectedBySentiance</td><td>Whether the Sentiance SDK detected and reported the crash.</td></tr><tr><td>crashLocation</td><td>The location where the crash happened. See <a href="/pages/9SqQLH37tXTxW5RKaYYj">Coordinates</a>.</td></tr></tbody></table>

### `noCrash()`

Creates feedback indicating that no crash occurred for a crash event reported by the Sentiance SDK. Use this to report false positives when the SDK incorrectly detected a vehicle crash.

Returns a VehicleCrashDetectionFeedback instance with the provided input.

```java
static VehicleCrashDetectionFeedback noCrash(Date eventDate);
```

<table><thead><tr><th width="220">Parameters</th><th></th></tr></thead><tbody><tr><td>eventDate</td><td>The date of the crash event reported by the Sentiance SDK.</td></tr></tbody></table>

### `getCrashLocation()`

Returns the location where the crash happened if it was provided to [crash()](#crash). Otherwise, returns `null`.

See [Coordinates](/sdk/api-reference/android/coordinates.md).

```java
@Nullable Coordinates getCrashLocation()
```

### `getEventDate()`

Returns the eventDate provided to [noCrash()](#nocrash), or the crashDate provided to [crash()](#crash).

```java
Date getEventDate()
```

### `wasCrashDetectedBySentiance()`

Returns whether the Sentiance SDK detected and reported the crash.

```java
boolean wasCrashDetectedBySentiance()
```

### `wasRealCrash()`

Returns whether a crash occurred on the specified eventDate.

```java
boolean wasRealCrash()
```
