VolumeTrait.VolumeStepCommand.Request

class VolumeTrait.VolumeStepCommand.Request


The request payload for the VolumeStep command.

Summary

Public constructors

Creates a request payload for the VolumeStep command.

Public properties

UByte

Indicates the increment by which to increase or decrease the volume.

VolumeTrait.VolumeStepModeEnum

Indicates whether to increase or decrease the volume.

Public constructors

Request

Request(
    stepMode: VolumeTrait.VolumeStepModeEnum = VolumeStepModeEnum.Increase,
    step: UByte
)

Creates a request payload for the VolumeStep command.

Public properties

step

val stepUByte

Indicates the increment by which to increase or decrease the volume. Valid values are between 0 and 100.

stepMode

val stepModeVolumeTrait.VolumeStepModeEnum

Indicates whether to increase or decrease the volume.