SENTTransportEvent
Represents a duration of the time when the user was in transport.
SENTTransportEvent API
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) -> BooloccupantRole
The detected user occupant role. See SENTOccupantRole.
var occupantRole: SENTOccupantRoletags
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: SENTTimelineTransportModewaypoints
The waypoints collected during the transport.
var waypoints: [SENTWaypoint]Last updated