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

action

abstract fun action(requests: List<IotDeviceRequest>): LiveData<SimpleResponse<Void>>

Execute the specific action to the device with optional parameters. The action depends on the unit type, e.g. Doors and Lockers Box action is open