Dolphin MOVE SDK
SDK
1.x
1.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
      • React Native
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Services
      • React Native
        • Initialization
        • Services
    • Models
      • MoveAuth
      • MoveConfig
      • MoveConfigurationError
      • MoveDeviceStatus
      • MoveSDKState
      • MoveTripState
      • MoveAuthState
      • Listeners/Callbacks
    • Appendix
      • Android
        • Token refresh
        • Permission Handling
        • Battery optimization
        • Notification Management
      • iOS
        • Permissions Handling
        • App Store
  • MOVE Backend
    • MOVE Timeline
    • MOVE State
    • MOVE Last Location
    • MOVE Generic Notifier
    • Open Api Specification
  • Changelog
    • Android
    • iOS
  • Data privacy (GDPR)
Powered by GitBook
On this page
  1. MOVE SDK
  2. Models

MoveDeviceStatus

PreviousMoveConfigurationErrorNextMoveSDKState

Last updated 3 years ago

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

MoveDeviceStatus{  
    isLocationGranted: Boolean
    isBackgroundPermissionGranted: Boolean
    isPreciseLocationGranted: Boolean
    isMotionGranted: Boolean
    isOverlayGranted: Boolean
    isPhoneGranted: Boolean
    isGyroPresent: Boolean
    isAccelerometerPresent: Boolean
}
struct MoveDeviceStatus{   
    var isLocationGranted: Bool
    var isPreciseLocationGranted: Bool
    var isMotionGranted: Bool
    var isGyroPresent: Bool
    var isAccelerometerPresent: Bool
    var isBackgroundPermissionGranted: Bool
    var isDistractionDetectionPossible: Bool
    var isDrivingBehaviourPossible: Bool
}

MoveDeviceStatus

isLocationGranted

A/iOS

Bool

Indicates if system's location permission is granted.

isPreciseLocationGranted

A/iOS

Bool

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

isMotionGranted

A/iOS

Bool

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

isGyroPresent

A/iOS

Bool

Indicates if the device's gyroscope sensor is available.

isAccelerometerPresent

A/iOS

Bool

Indicates if the device's accelerometer sensor is available.

isBackgroundPermissionGranted

A/iOS

Bool

Indicates if system's background location permission is granted.

isOverlayGranted

A

Bool

Indicates if system's overlay permission is granted.

isDistractionDetectionPossible

iOS

Bool

isDrivingBehaviourPossible

iOS

Bool

MoveDeviceStatus-related APIs

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

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

getDeviceStatus() (in / )

Gets the current .

Device Status Listener ( / )

Provide a block to be invoked every time changes.

MoveDeviceStatus
Android
iOS
Config
Config
MoveDeviceStatus
MoveDeviceStatus
iOS
iOS
Android
Android