PresetMessageTrait.PlayPresetMessageCommand.Request

class PresetMessageTrait.PlayPresetMessageCommand.Request : ClusterStruct


The request payload for the PlayPresetMessage command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(phraseType: String)

Creates a request payload for the PlayPresetMessage command.

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

This parameter indicates which message to play.

Public constructors

Request

Request(phraseType: String = "")

Creates a request payload for the PlayPresetMessage command.

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

This parameter indicates which message to play.