ContentLauncherTrait.ParameterStruct

class ContentLauncherTrait.ParameterStruct : ClusterStruct


Inputs to a search for content for display or playback.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Creates the ParameterStruct 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 constructors

ParameterStruct

ParameterStruct(
    type: ContentLauncherTrait.ParameterEnum = ParameterEnum.Actor,
    value: String = "",
    externalIdList: OptionalValue<List<ContentLauncherTrait.AdditionalInfoStruct>> = OptionalValue.absent()
)

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

type

val typeContentLauncherTrait.ParameterEnum

The entity type.

value

val valueString

The entity value.