MoveServiceFailure

MOVE Models

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

sealed class MoveError {
    AccelerometerMissing,
    BatteryPermissionMissing,
    InternetPermissionMissing,
    LocationPermissionMissing,
    MotionPermissionMissing,
    NotificationMissing,
    OverlayPermissionMissing,
    PhonePermissionMissing,
    Unauthorized
}

Field

service

MoveConfig DetectionService

reason

List of required Permissions, or unauthorized if not in server config.

Last updated

#70: add MoveSdkAndroidConfig model

Change request updated