DoorLockTrait.DlCredentialRulesSupport

data class DoorLockTrait.DlCredentialRulesSupport


Credential rules.

Summary

Public constructors

DlCredentialRulesSupport(single: Boolean, dual: Boolean, tri: Boolean)

Creates the DlCredentialRulesSupport data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

String

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

Boolean

Two credentials are required to operate the lock.

Boolean

Only one credential is required to operate the lock.

String

Trait identifier of the Matter Cluster that defines the bitmap Data Type.

Boolean

Three credentials are required to operate the lock.

Public constructors

DlCredentialRulesSupport

DlCredentialRulesSupport(
    single: Boolean = false,
    dual: Boolean = false,
    tri: Boolean = false
)

Creates the DlCredentialRulesSupport data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

bitmapName

val bitmapNameString

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

dual

val dualBoolean

Two credentials are required to operate the lock.

single

val singleBoolean

Only one credential is required to operate the lock.

traitId

val traitIdString

Trait identifier of the Matter Cluster that defines the bitmap Data Type. Refer to ClusterId.traitId for the format.

tri

val triBoolean

Three credentials are required to operate the lock.