> 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/trip/triptimeoutlistener.md).

# TripTimeoutListener

This interface is used with [`setTripTimeoutListener(TripTimeoutListener)`](/sdk/api-reference/android/sentiance.md#settriptimeoutlistener).

### TripTimeoutListener API

#### `onTripTimeout()`

> ```java
> void onTripTimeout()
> ```
>
> Called when a trip has exceeded the maximum duration.
>
> This is only used when triggered trips is enabled in the [`SdkConfig`](/sdk/api-reference/android/sdkconfig.md).
