Sensorberg Smart Spaces SDK for Android / com.sensorberg.smartworkspace.sdk / UnitController / Status

Status

sealed class Status

Base class for the possible statuses of the UnitController

Types

BluetoothError

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.

BluetoothIsOff

object BluetoothIsOff : Status

The mobile device bluetooth radio is turned off.

Busy

object Busy : Status

This UnitController is busy. This status is a directly effect of a call to UnitController.open

LocationIsOff

object LocationIsOff : Status

The mobile device location services is turned off.

NoLocationPermission

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.

Ready

object Ready : Status

The UnitController is ready to be used. That's the only status where calling UnitController.open will not trigger an IllegalStateException

SdkNotReady

object SdkNotReady : Status

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

Inheritors

BluetoothError

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.

BluetoothIsOff

object BluetoothIsOff : Status

The mobile device bluetooth radio is turned off.

Busy

object Busy : Status

This UnitController is busy. This status is a directly effect of a call to UnitController.open

LocationIsOff

object LocationIsOff : Status

The mobile device location services is turned off.

NoLocationPermission

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.

Ready

object Ready : Status

The UnitController is ready to be used. That's the only status where calling UnitController.open will not trigger an IllegalStateException

SdkNotReady

object SdkNotReady : Status

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