Skip to Content
🚀 We just launched! Please star us on Github!

Speaker Channel

Channel Category: speaker

Controls speaker devices, including volume, mute state, and audio output modes.


Required Properties

PropertyData TypeRangeUnitPermissions
activeBooltrue/false-RW (Read/Write)

Property Details

active

Indicates whether the speaker is muted:

  • true: Audio output is active.
  • false: Audio output is muted.

Optional Properties

PropertyData TypeRangeUnitPermissions
volumeUchar0–100%RW (Read/Write)
modeEnumstereo/mono/surround-RW (Read/Write)

Property Details

volume

Represents the current volume level as a percentage:

  • 0: Minimum volume (silent).
  • 100: Maximum volume (full audio output).

mode

Represents the playback mode of the speaker.

Possible values:

  • stereo: Standard stereo output (left and right channels).
  • mono: Single-channel audio.
  • surround: Multi-channel surround sound (e.g., 5.1 or 7.1 configurations).
Last updated on