$drivekit_version
with the DriveKit version you are using in your appSynchronizationType
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 callback.CACHE
: If this value is used, no synchronization will be performed and only trips previously synchronized will be returned via the callback.StreakSyncStatus
in the callback can have 3 values:NO_ERROR
: synchronization has been successfully performed.CACHE_DATA_ONLY
: synchronizationType has been set to cache.FAILD_TO_SYNC_STREAKS_CACHE_ONLY
: synchronization has failed, only streaks previously synchronized are returned.theme
current
best
PHONE_DISTRACTION
: the driver has not handled his phone.SAFETY
: the safety score of the trip is higher or equal to 9.8.SPEEDING
: the speeding score of the trip is higher or equal to 9.8.ACCELERATION
: there wasn’t any harsh acceleration event during the trip.BRAKE
: there wasn’t any hard braking event during the trip.ADHERENCE
: there wasn’t any adherence thresold crossing during the trip.CALL
: the driver has not made forbidden call during the trip.distance
duration
tripNumber
startDate
endDate
BadgeSyncStatus
in the callback can have 3 values:NO_ERROR
: Synchronization has been successfully performedCACHE_DATA_ONLY
: SynchronizationType has been set to cache.FAILD_TO_SYNC_BADGES_CACHE_ONLY
: Synchronization has failed, only badges previously synchronized are returned.theme
category
BadgeCharacteristics
level
name
icon
defaultIcon
descriptionValue
progress
progressValue
congrats
threshold
Level
enum values are:BRONZE
SILVER
GOLD
GENERIC
SAFETY
ECO_DRIVING
PHONE_DISTRACTION
rankingPeriod
rankingDepth
rankingType
synchronizationType
WEEKLY
: is the period from the last Monday at midnight to the next Sunday at midnight.MONTHLY
: is the period from the 1rst day of the month (at midnight) to the last (at midnight).ALL_TIME
: is the period since the creation of the app.SAFETY,
DISTRACTION,
ECO-DRIVING,
SPEEDING.
RankingSyncStatus
in the callback can have 3 values:NO_ERROR
: Synchronization has been successfully performed.CACHE_DATA_ONLY
: SynchronizationType has been set to cache.FAILD_TO_SYNC_RANKINGS_CACHE_ONLY
: Synchronization has failed, only rankings previously synchronized are returned.USER_NOT_RANKED
: Driver not ranked.rankingType
rankingPeriod
groupName
userPosition
driverPreviousRank
driversRanked
nbDriverRanked
userId
nickname
rank
score
distance