struct PayloadPayload for the LockOperationEvent.
-
The type of the lock operation that was performed.
Declaration
Swift
let lockOperationType: Matter.DoorLockTrait.LockOperationTypeEnum? -
The source of the lock operation.
Declaration
Swift
let operationSource: Matter.DoorLockTrait.OperationSourceEnum? -
The user who performed the lock operation.
Declaration
Swift
let userIndex: UInt16? -
The fabric that performed the lock operation.
Declaration
Swift
let fabricIndex: UInt8? -
The node that performed the lock operation.
Declaration
Swift
let sourceNode: UInt64? -
The credentials used in performing the lock operation.
Declaration
Swift
let credentials: [Matter.DoorLockTrait.CredentialStruct]? -
A textual representation of this instance, suitable for debugging.
Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the
String(reflecting:)initializer. This initializer works with any type, and uses the customdebugDescriptionproperty for types that conform toCustomDebugStringConvertible:struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)"The conversion of
pto a string in the assignment tosuses thePointtype’sdebugDescriptionproperty.Declaration
Swift
var debugDescription: String { get }