Iot Device
data class IotDevice(id: String, name: String, deviceType: IotDeviceType, containedUnit: SmartspaceUnit, proximity: Proximity, position: Int, properties: List<Property>) : Parcelable
Content copied to clipboard
Represents an IotDevice. The base object for control and monitoring data in a Smartspace
Constructors
IotDevice
Link copied to clipboard
fun IotDevice(id: String, name: String, deviceType: IotDeviceType, containedUnit: SmartspaceUnit, proximity: Proximity, position: Int, properties: List<Property>)
Content copied to clipboard
Functions
describe Contents
Link copied to clipboard
new Request
Link copied to clipboard
Creates a StateChangeRequest.Builder used to change the state of this device properties (e.g.: power on; intensity 80%). The StateChangeRequest is then passed to IotDeviceController.execute
write To Parcel
Link copied to clipboard
Properties
containedUnit
Link copied to clipboard
deviceType
Link copied to clipboard
properties
Link copied to clipboard