AudioInput

@Generated(value = ["GoogleHomePlatformCodegen"])
interface AudioInput : AudioInputTrait.Attributes, MatterTrait


API for the AudioInput trait. This trait supports devices that can gather audio (for example, has a microphone).

Summary

Nested types

Descriptor enum for this trait's attributes.

Public functions

Boolean

Public properties

open TraitFactory<AudioInput>

Inherited functions

From com.google.home.TraitStateInvalidation
suspend Unit

Inherited properties

From com.google.home.google.AudioInputTrait.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.

AudioInputTrait.AudioInputEnvironment?

User's environment and the type of information that should be shared.

AudioInputTrait.AudioInputQuality?

Quality of the audio input the device supports.

UShort

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

UInt

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.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: AudioInput.Attribute): Boolean

Public properties

factory

open val factoryTraitFactory<AudioInput>