bosesoundtouchapi.models.audioproducttonecontrols

@export
class AudioProductToneControls(bosesoundtouchapi.soundtouchmodelrequest.SoundTouchModelRequest):

SoundTouch device AudioProductToneControls configuration object.

This class contains the attributes and sub-items that represent the Audio Product Tone Controls configuration of the device.

AudioProductToneControls(root: xml.etree.ElementTree.Element = None)

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.

Audio product tone control settings for bass details.

Audio product tone control settings for treble details.

def ToElement(self, isRequestBody: bool = False) -> xml.etree.ElementTree.Element:

Overridden.
Returns an xmltree Element node representation of the class.

Arguments:
  • isRequestBody (bool): True if the element should only return attributes needed for a POST request body; otherwise, False to return all attributes.
def ToString(self) -> str:

Returns a displayable string representation of the class.