Status

sealed class Status

Base class for the possible statuses of the IotDeviceController

Types

BluetoothError
Link copied to clipboard
data class BluetoothError(code: Int) : IotDeviceController.Status

There was an error reported by the mobile device bluetooth radio. That's a direct result from android.bluetooth.le.ScanCallback.onScanFailed. The IotDeviceController will keep trying to scan thou and clear the error if scans are being received.

BluetoothIsOff
Link copied to clipboard
object BluetoothIsOff : IotDeviceController.Status

The mobile device bluetooth radio is turned off.

Busy
Link copied to clipboard
object Busy : IotDeviceController.Status

A requested action is using the bluetooth radio and scanning was temporarily stopped. During this state:

LocationIsOff
Link copied to clipboard
object LocationIsOff : IotDeviceController.Status

The mobile device location services is turned off.

NoLocationPermission
Link copied to clipboard
object NoLocationPermission : IotDeviceController.Status

The client application did not executeStateChangeRequest location permission, or the user have declined it. Refer to Requesting Location Permission on how to properly implement permission executeStateChangeRequest.

Ready
Link copied to clipboard
object Ready : IotDeviceController.Status

The IotDeviceController is ready to be used.

SdkNotReady
Link copied to clipboard
object SdkNotReady : IotDeviceController.Status

The SDK is not ready to be used. The IotDevicesController depends on it.

Inheritors

IotDeviceController.Status
Link copied to clipboard
IotDeviceController.Status
Link copied to clipboard
IotDeviceController.Status
Link copied to clipboard
IotDeviceController.Status
Link copied to clipboard
IotDeviceController.Status
Link copied to clipboard
IotDeviceController.Status
Link copied to clipboard
IotDeviceController.Status
Link copied to clipboard