# TripInfo

{% hint style="danger" %}
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to <https://docs.sentiance.com>.
{% endhint %}

Provides information about a trip.

## TripInfo API

### `getTripType()`

> ```java
> TripType getTripType()
> ```
>
> Returns a [`TripType`](https://legacy-docs.sentiance.com/sdk/api-reference/android/trip/triptype) enum representing the ongoing trip type.
