ContentLauncherTrait.AdditionalInfoStruct

class ContentLauncherTrait.AdditionalInfoStruct : ClusterStruct


Additional name-value pairs that can be used to identify content.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

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

The name of the external ID.

String

The value of the external ID.

Public constructors

AdditionalInfoStruct

AdditionalInfoStruct(name: String = "", value: String = "")

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

name

val nameString

The name of the external ID.

value

val valueString

The value of the external ID.