Class Device

    • Field Detail

      • id

        public String id

        The device ID.

      • isActive

        public boolean isActive

        If this device is the currently active device.

      • isPrivateSession

        public boolean isPrivateSession

        If this device is currently in a private session.

      • isRestricted

        public boolean 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

        public String name

        The name of the device.

      • type

        public String type

        Device type, such as "computer", "smartphone" or "speaker".

      • volumePercent

        public int volumePercent

        The current volume in percent.

    • Constructor Detail

      • Device

        public Device()