Device

constructor(id: String? = null, isActive: Boolean, isPrivateSession: Boolean, isRestricted: Boolean, name: String, typeString: String, volumePercent: Int)(source)

Parameters

id

The device ID. This may be null.

isActive

If this device is the currently active device.

isPrivateSession

If this device is currently in a private session.

isRestricted

Whether controlling this device is restricted. At present if this is “true” then no Web API commands will be accepted by this device.

name

The name of the device.