SENTTransportEvent

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

SENTTransportEvent API

This class extends SENTTimelineEvent. See SENTTimelineEvent for additional properties and methods.

distanceInMeters

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

var distanceInMeters: Int?

isEqual

func isEqual(to transportEvent: SENTTransportEvent) -> Bool

occupantRole

The detected user occupant role. See SENTOccupantRole.

var occupantRole: SENTOccupantRole

tags

The set of tags that you have previously set (if any) for this transport. See setTransportTags.

var tags: [String: String]

transportMode

The mode of transportation as SENTTimelineTransportMode.

var transportMode: SENTTimelineTransportMode

waypoints

The waypoints collected during the transport.

var waypoints: [SENTWaypoint]

Last updated