sealed class Status
Base class for the possible statuses of the UnitController
data class BluetoothError : Status
There was an error reported by the mobile device bluetooth radio. That's a direct result from android.bluetooth.le.ScanCallback.onScanFailed. The UnitController will keep trying to scan thou. |
|
object BluetoothIsOff : Status
The mobile device bluetooth radio is turned off. |
|
object Busy : Status
This UnitController is busy. This status is a directly effect of a call to UnitController.open |
|
object LocationIsOff : Status
The mobile device location services is turned off. |
|
object NoLocationPermission : Status
The client application did not request location permission, or the user have declined it. Refer to Requesting Location Permission on how to properly implement permission request. |
|
object Ready : Status
The UnitController is ready to be used. That's the only status where calling UnitController.open will not trigger an IllegalStateException |
|
object SdkNotReady : Status
The SDK is not ready to be used. The UnitController depends on it. |
data class BluetoothError : Status
There was an error reported by the mobile device bluetooth radio. That's a direct result from android.bluetooth.le.ScanCallback.onScanFailed. The UnitController will keep trying to scan thou. |
|
object BluetoothIsOff : Status
The mobile device bluetooth radio is turned off. |
|
object Busy : Status
This UnitController is busy. This status is a directly effect of a call to UnitController.open |
|
object LocationIsOff : Status
The mobile device location services is turned off. |
|
object NoLocationPermission : Status
The client application did not request location permission, or the user have declined it. Refer to Requesting Location Permission on how to properly implement permission request. |
|
object Ready : Status
The UnitController is ready to be used. That's the only status where calling UnitController.open will not trigger an IllegalStateException |
|
object SdkNotReady : Status
The SDK is not ready to be used. The UnitController depends on it. |