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.

Android does not provide a config object, 
but uses various Move.Builder methods for this

   enum TimelineDetectionService {
        case DRIVING
        case BICYCLE
        case WALKING
        case PLACES
        case PUBLIC_TRANSPORT
    }
     
    enum DrivingService {
        case DistractionFreeDriving
        case DrivingBehaviour
    }
 
    enum OtherService {
	case PointsOfInterest
     }

For Android check the Initialization page

Each MoveConfig requires one or more permissions (see for Android and iOS). The SDK services will not start and MoveSDKState will transit to.permissionMissingerror state in case one or more required permissions were missing. Check MoveSDKState for more details.

Last updated