TransportSession

open class TransportSession

Represents a session that was recorded during a transport. A session includes information about the transport, such as its ID and mode, in addition to a reference to the sensor data that was used to determine the mode of transport (e.g. accelerometer, location).

Constructors

Link copied to clipboard
constructor(id: String, startDate: DateTime, endDate: DateTime, transportMode: TransportMode, sessionDataLogger: TransportSessionDataLogger)

Functions

Link copied to clipboard
Returns an iterator that can be used to retrieve chunks of accelerometer data pertaining to the session.
Link copied to clipboard
Link copied to clipboard
open fun getId(): String
Returns the unique ID of this transport session.
Link copied to clipboard
Returns an iterator that can be used to retrieve locations pertaining to the session.
Link copied to clipboard
Link copied to clipboard