MoveServiceWarning

MOVE Models

data class MoveServiceWarning(
    val service: MoveDetectionService,
    val warnings: List<MoveWarning>
)
    
sealed class MoveWarning {

    object ActivityPermissionMissing : MoveWarning()
    object BackgroundLocationPermissionMissing : MoveWarning()
    object BluetoothPermissionMissing : MoveWarning()
    object EnergySaver : MoveWarning()
    object LocationMode : MoveWarning()
    object MockProvider : MoveWarning()
    object MockProviderLocation : MoveWarning()
    object BatteryOptimization : MoveWarning()
    object GpsOff : MoveWarning()
    object Offline : MoveWarning()
    object NoSim : MoveWarning()
    object Rooted : MoveWarning()
    object GoEdition : MoveWarning()
    object PlayServicesMissing : MoveWarning()
    object BackgroundRestricted : MoveWarning()
    object GooglePlayLocationAccuracyMissing : MoveWarning()
    object NotificationPermissionMissing : MoveWarning()
    class LocationPowerMode(val mode: Int) : MoveWarning()
    object BluetoothTurnedOff : MoveWarning()
    object BluetoothScanPermissionMissing : MoveWarning()
    object BluetoothConnectPermissionMissing : MoveWarning()
    object FineLocationPermissionMissing : MoveWarning()
    object NotificationMissing : MoveWarning()
}

Last updated