AudioOutput

interface AudioOutput : AudioOutputTrait.Attributes, MatterTrait, AudioOutputCommands


API for the AudioOutput trait. This trait provides an interface for controlling the output on a video player device such as a TV.

Summary

Nested types

Descriptor enum for this trait's attributes.

Descriptor enum for this trait's commands.

Public functions

Boolean
Boolean

Public properties

open TraitFactory<AudioOutput>

Inherited functions

From com.google.home.matter.standard.AudioOutputCommands
suspend Unit
renameOutput(index: UByte, name: String)

Rename the specified output.

suspend Unit

Change the output on the device to the specified output.

From com.google.home.TraitStateInvalidation
suspend Unit

Inherited properties

From com.google.home.matter.standard.AudioOutputTrait.Attributes
List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

UShort

The revision of the server cluster specification supported by the cluster instance.

UByte?

The index of the currently-selected output.

AudioOutputTrait.Feature

Whether the server supports zero or more optional cluster features.

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

List<AudioOutputTrait.OutputInfoStruct>?

The outputs supported by the device.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: AudioOutput.Attribute): Boolean

supports

fun supports(command: AudioOutput.Command): Boolean

Public properties

factory

open val factoryTraitFactory<AudioOutput>