MoveConfig

MOVE Models

The MOVE 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 MOVE SDK.

The host app can only configure its MOVE SDK services to the set or subset of services subscribed by the MOVE project ID in the MOVE dashboard. You will get a failure list with MoveError.Unauthorized error if services are not configured.

data class MoveConfig(
    var moveDetectionServices: List<MoveDetectionService> ...
)

...

sealed class MoveDetectionService {

    class Driving(val drivingServices: List<DrivingService>? = null) : MoveDetectionService()
    object Cycling : MoveDetectionService()
    class Walking(val walkingServices: List<WalkingService>? = null) : MoveDetectionService()
    object Places : MoveDetectionService()
    object PublicTransport : MoveDetectionService()
    object PointsOfInterest : MoveDetectionService()
    object AutomaticImpactDetection : MoveDetectionService()
    object AssistanceCall : MoveDetectionService()

}
    

Please check also the platform specific configuration pages (Android / iOS).

MoveConfig

DetectionServices

List of required modes of transportation to be detected.

driving

Detect the driving activity.

cycling

Detect the cycling activity.

walking

Detect the walking activity.

places

Detect places where user spent time.

publicTransport

Detect public transport trips

pointsOfInterest

Monitor and track points of interest

automaticImpactDetection

Detect impacts while driving or as stand alone service.

assistanceCall

Enable assistance call.

DrivingServices

List of required driving services to be detected.

distractionFreeDriving

Detect the user's distraction-free driving duration during a trip.

drivingBehavior

Detect the user's driving behavior during a trip.

deviceDiscovery

Scanning for registered devices during a trip. (since MOVE SDK v2.4)

WalkingServices

location

Detects locations in background while walking.

Each MoveConfig requires one or more permissions (see for Android and iOS). Individual MOVE SDK services will not function without the required permissions. Check MoveSDKState for more details.

MoveConfig related

setup(...)

Setup the MOVE SDK with passing MoveAuth and MoveConfig

Last updated

Dolphin Technologies GmbH