DoorbellPressTrait.DoorbellPressed

interface DoorbellPressTrait.DoorbellPressed : ClusterStruct


Data about the pressing of a doorbell.

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

String?

The identifier for the selected ringtone.

Long?

The length of time the doorbell was pressed.

Long?

The priority of the DoorbellPressed event.

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

complementaryToneId

val complementaryToneIdString?

The identifier for the selected ringtone.

doorbellPressTimeSeconds

val doorbellPressTimeSecondsLong?

The length of time the doorbell was pressed.

priority

val priorityLong?

The priority of the DoorbellPressed event.