References (Android)
DKDriverTimeline
DKDriverTimeline
is an object that contains timeline data for the given period.
Attribute
Type
Description
period
The kind of aggregation period for this timeline
allContext
The list of all global context sorted by date
roadContexts
The map of all road context and their associated list of context data sorted by date
DKPeriod
DKPeriod
indicates the aggregation size of each timeline object. It is an enum with the following values:
WEEK
Timeline data is aggregated week by week
MONTH
Timeline data is aggregated month by month
YEAR
Timeline data is aggregated year by year
DKAllContextItem
DKAllContextItem
is an object that contains data for global context for the given period.
Attribute
Type
Description
date
Date
Start date of the given period
numberTripTotal
Int
Total number of trips made during the given period
numberTripScored
Int
Number of trips made that were long enough to have a score during the given period
distance
Double
Total distance travelled during the given period (in kilometers)
duration
Int
Total trip duration during the given period (in minutes)
safety
Safety's score and sub scores for the given period (present only if safety score is configured and the period has some scored trips)
ecoDriving
Eco-driving's score and sub scores for the given period (present only if eco-driving score is configured and the period has some scored trips)
phoneDistraction
Distraction's score and sub scores for the given period (present only if distraction score is configured)
speeding
Speeding's score and sub scores for the given period (present only if speeding score is configured)
drivingConditions
Advanced informations for a given period (total trip and distance for a specific DKDrivingCategory and by DKWeather, distance travelled by day/night and by weekdays/weekend)
DKSafety
DKSafety
is an object that contains data for safety's score and sub scores.
score
Double
Global safety score for the given period (ranging from 3 to 10)
acceleration
Int
Number of harsh accelerations during the given period
braking
Int
Number of hard breakings during the given period
adherence
Int
Number of adherence limits during the given period
DKEcoDriving
DKEcoDriving
is an object that contains data for eco-driving's score and sub scores.
score
Double
Global eco-driving score for the given period (ranging from 4 to 10)
efficiencyAcceleration
Double
Sub score of acceleration efficiency for the given period (ranging from -5 to 5)
efficiencyBrake
Double
Sub score of braking efficiency for the given period (ranging from -5 to 5)
efficiencySpeedMaintain
Double
Sub score of speed maintain efficiency for the given period (ranging from 0 to 5)
fuelVolume
Double
Fuel consumption during the given period (in liters)
fuelSaving
Double
Achievable fuel savings during the given period (in liters)
co2Mass
Double
CO₂ mass consumed during the given period (in kilograms)
DKDistraction
DKDistraction
is an object that contains data for distraction's score and sub scores.
score
Double
Global distraction score for the given period (ranging from 0 to 10)
unlock
Int
Number of screen unlocks during the given period
lock
Int
Number of screen locks during the given period
callForbiddenDuration
Int
Duration of forbidden calls during the given period (in seconds)
numberTripWithForbiddenCall
Int
Number of trips during which the driver made forbidden calls during the given period
callForbidden
Int
Number of forbidden calls during the given period
callAuthorizedDuration
Int
Duration of authorised calls during the given period (in seconds)
callAuthorized
Int
Number of authorised calls during the given period
DKSpeeding
DKSpeeding
is an object that contains data for speeding's score and sub scores.
score
Double
Global speeding score for the given period (ranging from 0 to 10)
speedingDuration
Int
Overspeeding duration during the given period (in seconds)
speedingDistance
Double
Overspeeding distance travelled during the given period (in meters)
DKDrivingConditions
DKDrivingConditions
is an object that contains advanced driving information for the given period.
tripCountByCategory
Total trips count by driving category
distanceByCategory
Total distance in km by driving category
tripCountByWeatherType
Total trips count by weather category
distanceByWeatherType
Total distance in km count by weather category
dayDistance
Double
Total distance traveled by the day in km
nightDistance
Double
Total distance traveled by night in km
weekdaysDistance
Double
Total distance traveled during weekdays in km
weekendDistance
Double
Total distance traveled during weekend in km
DKDrivingCategory
LESS_THAN_2_KM
Trip distance strictly below 2
km
FROM_2_TO_10_KM
Trip distance in [2, 10[
km
FROM_10_TO_50_KM
Trip distance in [10, 50[
km
FROM_50_TO_100_KM
Trip distance in [50, 100[
km
MORE_THAN_100_KM
Trip distance is equals or above 100
km
DKRoadContextItem
DKRoadContextItem
is an object that contains data for the given road context and given period.
type
Road context for the given period
date
Date
Start date of the given period
numberTripTotal
Int
Total number of trips made during the given period and road context
numberTripScored
Int
Number of trips made that were long enough to have a score during the given period and road context
distance
Double
Total distance travelled during the given period and road context (in kilometers)
duration
Int
Total trip duration during the given period and road context (in minutes)
safety
Safety's score and sub scores for the given period and road context (present only if safety score is configured and the period has some scored trips)
ecoDriving
Eco-driving's score and sub scores for the given period and road context (present only if eco-driving score is configured and the period has some scored trips)
RoadContext
RoadContext
indicates the kind of roads where the data was gathered. It is an enum with the following values:
TRAFFIC_JAM
The targeted driver was in traffic jams
HEAVY_URBAN_TRAFFIC
The targeted driver was in dense city roads
CITY
The targeted driver was in light traffic city roads
SUBURBAN
The targeted driver was in suburban or countryside roads
EXPRESSWAYS
The targeted driver was in express ways
DKDriverProfile
DKDriverProfile
is the object describing the driver profile.
distance
Distance class
activity
Activity class
regularity
Regularity class
mainRoadContext
Main road context
mobility
Mobility class
statistics
Statistics about the driver
weekRegularity
Information about driver’s week regularity
monthRegularity
Information about driver’s month regularity
distanceEstimation
Distance estimation by week, month or year
roadContextInfoByRoadContext
Contains information about road contexts
commonTripByType
Provides information about common trips, by type of trip
mobilityAreaRadiusByType
Provides radius of mobility area by type of mobility
DKDistanceProfile
DKDistanceProfile
indicates the distance class of the driver.
VERY_SHORT
Very short distance driver
less than 5000
SHORT
Short distance driver
5000 to 10000
MEDIUM
Medium distance driver
10000 to 20 000
LONG
Long distance driver
20 000 to 40 000
VERY_LONG
Professional driver
more than 40 000
DKActivityProfile
DKActivityProfile
indicates the activity class of the driver.
LOW
Low activity driver
less than 30 %
MEDIUM
Medium activity driver
30 to 60 %
HIGH
High activity driver
more than 60 %
DKRegularityProfile
DKRegularityProfile
indicates the regularity class of the driver.
REGULAR
Regular driver
INTERMITTENT
Intermittent driver
DKMobilityProfile
DKMobilityProfile
indicates the mobility class of the driver.
NARROW
90% of trips are within a radius of less than 10 km
SMALL
90% of trips are within a radius of less than 20 km
MEDIUM
90% of trips are within a radius of less than 30 km
LARGE
90% of trips are within a radius of less than 50 km
WIDE
90% of trips are within a radius of less than 100 km
VAST
90% of trips are within a radius of 100 km or more
DKDriverStatistics
DKDriverStatistics
is an object providing statistics about the driver.
tripsNumber
Int
Total number of trips
totalDistance
Int
Total distance (in km)
totalDuration
Int
Total driving duration (in min)
weekNumber
Int
Number of weeks since user registration
activeWeekNumber
Int
Number of active weeks since user registration
monthNumber
Int
Number of months since user registration
activeMonthNumber
Int
Number of active months since user registration
peakTime
DKTime
Peak time trip starts
peakDay
DKDay
Weekday with most trips completed
DKDriverRegularity
DKDriverRegularity
is an object providing information about driver’s regularity.
periodNumber
Int
Number of weeks or months used to calculate regularity
tripNumberMean
Int
Average number of trips per week or month
tripNumberStandardDeviation
Int
Standard deviation of the number of trips per week or month
distanceMean
Int
Average weekly or monthly distance (in km)
distanceStandardDeviation
Int
Standard deviation of the weekly or monthly distance (in km)
durationMean
Int
Average weekly or monthly driving duration (in min)
durationStandardDeviation
Int
Standard deviation of the weekly or monthly driving duration (in min)
DKDriverDistanceEstimation
DKDriverDistanceEstimation
is an object providing distance estimation by week, month or year.
weekDistance
Int
Estimated weekly distance (in km)
monthDistance
Int
Estimated monthly distance (in km)
yearDistance
Int
Estimated annual distance (in km)
confidence
Confidence level indicator, based on the available data
DKDriverDistanceEstimationConfidence
DKDriverDistanceEstimationConfidence
indicates the distance estimation confidence class.
LOW
If less than 8 weeks since driver’s subscription
MEDIUM
If between 9 and 16 weeks since driver’s subscription
HIGH
If more than 16 weeks since driver’s subscription
DKRoadContextInfo
DKRoadContextInfo
is an object providing information about road context for the driver.
roadContext
Road context
distancePercentage
Double
Percentage of total distance driven in this context
durationPercentage
Double
Percentage of total duration driven in this context
consumedEnergyPercentage
Double
Percentage of total energy driven in this context
DKCommonTripType
DKCommonTripType
indicates the type of trip.
MOST_FREQUENT
Most frequent trip
UNKNOWN
Unknown type for the SDK (if a new type is added but the SDK is not up to date)
DKCommonTrip
DKCommonTrip
is an object providing information about a trip.
type
Type of trip
tripNumber
Int
Number of trips
distanceMean
Int
Average trip distance (in km)
durationMean
Int
Average trip duration (in min)
roadContext
Road context type
DKMobilityAreaType
DKMobilityAreaType
indicates the type of mobility area.
PERCENTILE_50TH
The radius including 50% of all the user’s trips
PERCENTILE_90TH
The radius including 90% of all the user’s trips
Last updated