MoveConfig
The SDK offers to detect different modes of transport and driving services. The host app can configure which driving services to activate and modes of transport to detect by setting the MoveConfig object when initializing the SDK.
The host app must only configure its SDK services to the set or subset of services subscribed by the SDK product id of this host app. The SDK initialization will fail and complete with MoveConfigurationError.configMismatch
otherwise.
For Android check the Initialization page
MoveConfig | ||
TimelineDetectionServices | List of required modes of transportation to be detected. | |
driving | Detect the driving activity. | |
bicycle | Detect the cycling activity. | |
walking | Detect the walking activity. | |
places | Detect places where user spent time. | |
publicTransport | Detect public transport trips | |
DrivingServices | List of required driving services to be detected. | |
dfd | Detect the user's distraction-free driving duration during a trip. | |
behavior | Detect the user's driving behavior during a trip. | |
OtherServices | Other SDK services | |
poi | Monitor and track points of interest |
Each MoveConfig requires one or more permissions (see for Android and iOS). The SDK services will not start and MoveSDKState will transit to.permissionMissing
error state in case one or more required permissions were missing. Check MoveSDKState for more details.
MoveConfig-related APIs | |
Move.Sdk.Builder (A) | Android does not provide a config object, but uses the Builder methods for this. |
Initialization (iOS) | Pass the required configurations on intialization. |
Last updated