MoveServiceFailure

MOVE Models

data class MoveServiceFailure( 
    val service: MoveDetectionService, 
    val reasons: List<MoveError>
)

sealed class MoveError {

    object Unauthorized : MoveError()
    object InternetPermissionMissing : MoveError()
    object LocationPermissionMissing : MoveError()
    object PhonePermissionMissing : MoveError()
    object OverlayPermissionMissing : MoveError()
    object MotionPermissionMissing : MoveError()
    object BackgroundLocationPermissionMissing : MoveError()
    object BatteryPermissionMissing : MoveError()
    object AccelerometerMissing : MoveError()
    
}

Field

service

see MoveDetectionService in MoveConfig

reasons

List of required Permissions (Android / iOS) / Features or unauthorized if not in server config.

Last updated