$drivekit_version
with the DriveKit version you are using in your apponCreate
method of your application class.true
if it is well configured.SynchronizationType
can have 2 values:DEFAULT
: if this value is used, the SDK will try to synchronize local trips with DriveQuant backend to get new trips or modified trips, and then return the trip list via the completionHandler.CACHE
: if this value is used, no synchronization will be performed and only trips previously synchronized will be return via the completionHandler.TripsQueryListener
must be provided in order to retrieve trips. NO_ERROR
: Synchronization has been successfully performed.CACHE_DATA_ONLY
: SynchronizationType has been set to CACHE
.FAILED_TO_SYNC_TRIPS
: Synchronization has failed, only trips previously synchronized are returned.itinId
parameter is the unique identifier for a trip.TripQueryListener
must be provided in order to retrieve the trip. FAILED_TO_SYNC_SAFETY_EVENTS
if the safety events synchronization failed.RouteQueryListener
must be provided in order to retrieve the trip. RouteStatus
can have 2 values:NO_ERROR
: The trip has been successfully retrieved.FAILED_TO_RETRIEVE_ROUTE
: Route has not been synchronized. route
parameter will be null
.itinId
parameter is the unique identifier for a trip.SynthesisStatus
in the callback can have 3 values:NO_ERROR
: Synchronization has been successfully performed.CACHE_DATA_ONLY
: SynchronizationType has been set to cache.FAILED_TO_SYNC_SYNTHESIS_CACHE_ONLY
: Synchronization has failed, only data retrieved during the last synchronisation are returned.periods
attribute helps you get timeline data in a specific period of time.DKTimelinePeriod
enum values are: WEEK
MONTH
TimelineSyncStatus
in the callback can have 4 values:NO_ERROR
: Synchronization has been successfully performed.CACHE_DATA_ONLY
: SynchronizationType has been set to cache.FAILED_TO_SYNC_TIMELINE_CACHE_ONLY
: Synchronization has failed, only data retrieved during the last synchronisation are returned.NO_TIMELINE_YET
: Synchronization has been successfully performed and there is currently no timeline.