ContentLauncherTrait.ContentSearchStruct

class ContentLauncherTrait.ContentSearchStruct : 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 ContentSearchStruct 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

List<ContentLauncherTrait.ParameterStruct>

A list of parameters comprising the search.

Public constructors

ContentSearchStruct

ContentSearchStruct(
    parameterList: List<ContentLauncherTrait.ParameterStruct> = emptyList()
)

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

parameterList

val parameterListList<ContentLauncherTrait.ParameterStruct>

A list of parameters comprising the search.