> 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/eventtimeline/triplocationupdateslistener.md).

# TripLocationUpdatesListener

## TripLocationUpdatesListener API

### `onLocationReceived()`

A listener that is invoked with the user's current location during a trip.

```java
void onLocationReceived(@NonNull TripLocation tripLocation);
```

<table><thead><tr><th width="206">Parameters</th><th></th></tr></thead><tbody><tr><td>tripLocation</td><td>Location of the user during the trip. See <a href="/pages/DD7J2HbMDmYNgKrnfuPX">TripLocation</a>.</td></tr></tbody></table>
