TransportEvent
Represents a duration of the time when the user was in transport.
TransportEvent API
getDistanceInMeters()
()
Returns the distance travelled during the transport in meters. If distance cannot be computed then returns null.
getOccupantRole()
getOccupantRole()
Returns the detected user occupant role. See OccupantRole.
getTransportMode()
getTransportMode()
Returns the mode of transportation.
getTags()
getTags()
Returns the set of tags that you have previously set (if any) for this transport. See setTransportTags.
getWaypoints()
getWaypoints()
Returns the waypoints collected during the transport, as Waypoint.
Last updated