> 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/crashdetection/vehiclecrashdiagnosticlistener.md).

# VehicleCrashDiagnosticListener

This interface is used in combination with [`setVehicleCrashDiagnosticListener(VehicleCrashDiagnosticListener)`](/sdk/api-reference/android/crashdetection/crashdetectionapi.md#setvehiclecrashdiagnosticlistener).

## VehicleCrashDiagnosticListener API

### `onNewDiagnostic()`

> ```java
> void onNewDiagnostic(@NonNull VehicleCrashDiagnostic diagnostic);
> ```
>
> Called when new vehicle crash diagnostic data is available.

| diagnostic | A [VehicleCrashDiagnostic](/sdk/api-reference/android/crashdetection/vehiclecrashdiagnostic.md) object containing diagnostic data pertaining to an ongoing vehicle crash detection. |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
