Body of the Switch multiPressOngoing event

MatterSpecification.v13.Cluster § 1.13.6.6

interface MultiPressOngoingEvent {
    currentNumberOfPressesCounted: number;
    newPosition: number;
}

Hierarchy (view full)

Properties

currentNumberOfPressesCounted: number

This field shall contain:

• a value of 2 when the second press of a multi-press sequence has been detected,

• a value of 3 when the third press of a multi-press sequence has been detected,

• a value of N when the Nth press of a multi-press sequence has been detected.

MatterSpecification.v13.Cluster § 1.13.6.6.2

newPosition: number

This field shall indicate the new value of the CurrentPosition attribute, i.e. while pressed.

MatterSpecification.v13.Cluster § 1.13.6.6.1