MoveDeviceStatus

MOVE Models

MoveDeviceStatus represents the current device's system permissions (for Android / iOS) and services status.

MoveDeviceStatus {  
    isLocationGranted: Boolean
    isBackgroundPermissionGranted: Boolean
    isPreciseLocationGranted: Boolean
    isMotionGranted: Boolean
    isOverlayGranted: Boolean
    isPhoneGranted: Boolean
    isGyroPresent: Boolean
    isAccelerometerPresent: Boolean
}

MoveDeviceStatus

OS

Type

isLocationGranted

A/iOS

Boolean

Indicates if system's location permission is granted.

isPreciseLocationGranted

A/iOS

Boolean

Indicates if location precision permission is granted (iOS 14), resp. If the location accuracy is high (Android / Google Play Services).

isMotionGranted

A/iOS

Boolean

Indicates if system's motion(iOS)/activity recognition (Android) permission is granted.

isGyroPresent

A/iOS

Boolean

Indicates if the device's gyroscope sensor is available.

isAccelerometerPresent

A/iOS

Boolean

Indicates if the device's accelerometer sensor is available.

isBackgroundPermissionGranted

A/iOS

Boolean

Indicates if system's background location permission is granted.

isOverlayGranted

A

Boolean

Indicates if system's overlay permission is granted.

isDistractionDetectionPossible

iOS

Boolean

Indicates if all the permissions required for the Distraction detection service are granted. Check Config for more info.

isDrivingBehaviourPossible

iOS

Boolean

Indicates if all the permissions required for the Driving behaviour service are granted. Check Config for more info.

MoveDeviceStatus related

getDeviceStatus() (in Android / iOS)

Gets the current MoveDeviceStatus.

Last updated