SwitchTrait.LongRelease

interface SwitchTrait.LongRelease : ClusterStruct


Indicates that the momentary switch has been released after a LongPress and after debouncing.

Summary

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

UByte?

The value of the currentPosition attribute just prior to the release.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

previousPosition

val previousPositionUByte?

The value of the currentPosition attribute just prior to the release.