IdentifyTrait.TriggerEffectCommand.Request

class IdentifyTrait.TriggerEffectCommand.Request


The request payload for the TriggerEffect command.

Summary

Public constructors

Request(
    effectIdentifier: IdentifyTrait.EffectIdentifierEnum,
    effectVariant: IdentifyTrait.EffectVariantEnum
)

Creates a request payload for the TriggerEffect command.

Public properties

IdentifyTrait.EffectIdentifierEnum

The identify effect to use.

IdentifyTrait.EffectVariantEnum

Variant of the effect, indicated by the effectIdentifier parameter, that is triggered.

Public constructors

Request

Request(
    effectIdentifier: IdentifyTrait.EffectIdentifierEnum = EffectIdentifierEnum.Blink,
    effectVariant: IdentifyTrait.EffectVariantEnum = EffectVariantEnum.Default
)

Creates a request payload for the TriggerEffect command.

Public properties

effectIdentifier

val effectIdentifierIdentifyTrait.EffectIdentifierEnum

The identify effect to use. Must be a value from IdentifyTrait.EffectIdentifierEnum.

effectVariant

val effectVariantIdentifyTrait.EffectVariantEnum

Variant of the effect, indicated by the effectIdentifier parameter, that is triggered. This must be one of the values in IdentifyTrait.EffectVariantEnum.