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

Package com.sensorberg.smartworkspace.sdk

Types

AbstractNfcActivity

abstract class AbstractNfcActivity : AppCompatActivity, TapEventListener

Abstract class for receiving NFC Intents.

Availability

enum class Availability

Indication of unit availability regarding, being booked and restricted access times

BookingManager

interface BookingManager

Manages user bookings on the units

CancellationSignal

class CancellationSignal

Cancellation object for the UnitController.open method. Calling cancel on this object will attempt to cancel the open operation. If the cancellation was successful the Response.Status will be Response.Status.FAIL and Response.exception will be the exception object passed to the cancel method.

OpeningProgress

enum class OpeningProgress

Progress status of the open operation

Refresh

enum class Refresh

Specify which data to refresh when calling SmartWorkspaceSdk.refresh

SmartWorkspaceSdk

interface SmartWorkspaceSdk

Sensorberg Smart Spaces SDK interface. All methods are expected to be called from UI-thread. The SDK handles all needed threading internally. The Smart Workspaces SDK must be a singleton in the application. Consult the implementation guide for singleton pattern.

Sorting

enum class Sorting

Sorting used to return units

TapController

interface TapController

Controller for magneto and NFC "tap" actions.

TapEventListener

interface TapEventListener

Listener to detect a tap event.

UnitController

interface UnitController

Controller for a IotUnit.

UserManager

interface UserManager

Manages user authentication. Provides methods for login, logout, change password and the logged-in/out

Exceptions

BluetoothException

class BluetoothException : Exception