EventTimelineApi

Functions

Link copied to clipboard
@JvmStatic
open fun getInstance(@NonNull context: Context): EventTimelineApi
Link copied to clipboard
Returns the timeline event with the specified ID, or null if no such event exists.
Link copied to clipboard
open fun getTimelineEvents(@NonNull fromDate: Date, @NonNull toDate: Date): List<Event>
Returns timeline events, such as transport and stationary events, that were captured during the specified date range.
Returns timeline events, such as transport and stationary events, that were captured during the specified date range.
Link copied to clipboard
open fun getTimelineUpdates(@NonNull afterDate: Date): List<Event>
Returns all updated events in the event timeline after the specified date, sorted by the last update time.
Returns all updated events in the event timeline after the specified date, sorted by the last update time.
Sets a listener that is invoked when a potential vehicle transport start is detected.
Sets a listener that is invoked when the event timeline is updated.
Link copied to clipboard
Sets a listener that is invoked when the event timeline is updated.
Link copied to clipboard
Sets the tags that will be assigned to a detected transport.
Link copied to clipboard
Starts delivering periodic trip location updates to the provided listener.
Link copied to clipboard
Stops delivering trip location updates.