# TripProfile

{% 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 %}

{% hint style="warning" %}
**Deprecated**

This class was deprecated in v4.21.0, as part of the Trip Profiling feature deprecation.
{% endhint %}

Holds the list of [`TransportSegments`](https://legacy-docs.sentiance.com/sdk/api-reference/android/tripprofile/transportsegment) detected by the SDK during a trip.

## TripProfile API

### `getTransportSegments()`

> ```java
> public List<TransportSegment> getTransportSegments()
> ```
>
> Returns a list of transport segments. See [`TransportSegment`](https://legacy-docs.sentiance.com/sdk/api-reference/android/tripprofile/transportsegment).

### `getTripId()`

> ```java
> public String getTripId()
> ```
>
> Returns the id associated with this trip.
