ExtendedMediaInputTrait.InputNames

class ExtendedMediaInputTrait.InputNames : ClusterStruct


Input names for a given available language.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

InputNames(lang: String, nameSynonym: List<String>)

Creates the InputNames 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

Language code.

List<String>

User-friendly names for the input, in a given language.

Public constructors

InputNames

InputNames(lang: String = "", nameSynonym: List<String> = emptyList())

Creates the InputNames class.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

lang

val langString

Language code.

nameSynonym

val nameSynonymList<String>

User-friendly names for the input, in a given language. The first synonym is used in Google Assistant's response to the user.