bosesoundtouchapi.models.basscapabilities

@export
class BassCapabilities:

SoundTouch device BassCapabilities configuration object.

This class contains the attributes and sub-items that represent the bass capabilities configuration of the device.

BassCapabilities(root: xml.etree.ElementTree.Element)

Initializes a new instance of the class.

Arguments:
  • root (Element): xmltree Element item to load arguments from.
    If specified, then other passed arguments are ignored.
Default: int

The default value of the bass level.

IsAvailable: bool

Returns True if the bass level of the device is adjustable; otherwise, False.

Maximum: int

The maximum allowed value of the bass level.

Minimum: int

The minimum allowed value of the bass level.

def ToString(self) -> str:

Returns a displayable string representation of the class.