ExtendedMediaInput

@Generated(value = ["GoogleHomePlatformCodegen"])
interface ExtendedMediaInput : ExtendedMediaInputTrait.Attributes, MatterTrait, ExtendedMediaInputCommands


API for the ExtendedMediaInput trait. This trait is an extension of the Matter standard trait, MediaInput, and is used by devices that can switch inputs.

Summary

Nested types

Descriptor enum for this trait's attributes.

Descriptor enum for this trait's commands.

Public properties

open TraitFactory<ExtendedMediaInput>

Inherited functions

suspend Unit

Select the next input.

BatchableCommand<Unit>

The batchable version of nextInput command.

suspend Unit

Select the previous input.

BatchableCommand<Unit>

The batchable version of previousInput command.

suspend Unit

Set the media input.

BatchableCommand<Unit>

The batchable version of selectCustomInput command.

suspend Unit

Inherited properties

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.

String?

Key of the input currently in use.

List<ExtendedMediaInputTrait.AvailableInput>?

List of objects representing input audio or video feeds.

Boolean?

This is true if the list of outputs is ordered, and also indicates that the next and previous functionality is available.

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.

Public functions

supports

fun supports(attribute: ExtendedMediaInput.Attribute): Boolean

supports

fun supports(command: ExtendedMediaInput.Command): Boolean

Public properties

factory

open val factoryTraitFactory<ExtendedMediaInput>