> 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/ios/event-timeline/senttimelineevent/senttransportevent.md).

# SENTTransportEvent

Represents a duration of the time when the user was in transport.

### SENTTransportEvent API

{% hint style="info" %}
This class extends SENTTimelineEvent. See [SENTTimelineEvent](/sdk/api-reference/ios/event-timeline/senttimelineevent.md) for additional properties and methods.
{% endhint %}

### distanceInMeters

The distance travelled during the transport, in meters. If distance cannot be computed, then returns nil.

```swift
var distanceInMeters: Int?
```

### isEqual

```swift
func isEqual(to transportEvent: SENTTransportEvent) -> Bool
```

### occupantRole

The detected user occupant role. See [SENTOccupantRole](/sdk/api-reference/ios/event-timeline/sentoccupantrole.md).

```swift
var occupantRole: SENTOccupantRole
```

### tags

The set of tags that you have previously set (if any) for this transport. See [setTransportTags](/sdk/api-reference/ios/sentiance.md#settransporttags).

```swift
var tags: [String: String]
```

### transportMode

The mode of transportation as [SENTTimelineTransportMode](/sdk/api-reference/ios/event-timeline/senttimelinetransportmode.md).

```swift
var transportMode: SENTTimelineTransportMode
```

### waypoints

The waypoints collected during the transport.

```swift
var waypoints: [SENTWaypoint]
```
