ExtendedMediaInputTrait.AvailableInput

class ExtendedMediaInputTrait.AvailableInput : ClusterStruct


Available-input definitions.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Creates the AvailableInput class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

String

Unique key for the input.

List<ExtendedMediaInputTrait.InputNames>

List of names for the input for all available languages.

Public constructors

AvailableInput

AvailableInput(
    key: String = "",
    names: List<ExtendedMediaInputTrait.InputNames> = emptyList()
)

Creates the AvailableInput class.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

key

val keyString

Unique key for the input. The key should not be exposed to users in speech or response.

names

val namesList<ExtendedMediaInputTrait.InputNames>

List of names for the input for all available languages.