PresetMessageTrait.PhraseType

class PresetMessageTrait.PhraseType : ClusterStruct


A type of phrase.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

PhraseType(phraseType: String)

Creates the PhraseType 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 description of the phrase type.

Public constructors

PhraseType

PhraseType(phraseType: String = "")

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

phraseType

val phraseTypeString

The description of the phrase type.