ExtendedDoorLockTrait.PrivacyModeActor

class ExtendedDoorLockTrait.PrivacyModeActor : ClusterStruct


Describes who and what last caused the privacy mode state to change.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

PrivacyModeActor(
    privacyModeActorMethod: ExtendedDoorLockTrait.PrivacyModeActorMethodEnum,
    actorName: String,
    userId: Long,
    timeStampSeconds: Long
)

Creates the PrivacyModeActor class.

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 name of the actor who took the action.

ExtendedDoorLockTrait.PrivacyModeActorMethodEnum

The method of the privacy mode actor for changing a lock-related state.

Long

The timestamp of the event in seconds.

Long

The user ID of the actor who took the action.

Public constructors

PrivacyModeActor

PrivacyModeActor(
    privacyModeActorMethod: ExtendedDoorLockTrait.PrivacyModeActorMethodEnum = PrivacyModeActorMethodEnum.Unspecified,
    actorName: String = "",
    userId: Long = 0,
    timeStampSeconds: Long = 0
)

Creates the PrivacyModeActor class.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

actorName

val actorNameString

The name of the actor who took the action.

privacyModeActorMethod

val privacyModeActorMethodExtendedDoorLockTrait.PrivacyModeActorMethodEnum

The method of the privacy mode actor for changing a lock-related state.

timeStampSeconds

val timeStampSecondsLong

The timestamp of the event in seconds.

userId

val userIdLong

The user ID of the actor who took the action.