struct PayloadPayload for the LockUserChangeEvent.
-
The lock data type that changed.
Declaration
Swift
let lockDataType: Matter.DoorLockTrait.LockDataTypeEnum? -
The data operation performed on the lock data.
Declaration
Swift
let dataOperationType: Matter.DoorLockTrait.DataOperationTypeEnum? -
The source of the user data change.
Declaration
Swift
let operationSource: Matter.DoorLockTrait.OperationSourceEnum? -
The user who performed the user data change.
Declaration
Swift
let userIndex: UInt16? -
The fabric that performed the user data change.
Declaration
Swift
let fabricIndex: UInt8? -
The node that performed the user data change.
Declaration
Swift
let sourceNode: UInt64? -
The index of the item that was changed in the list of items identified by
lockDataType. For example, schedule, PIN, RFID, and so forth.Declaration
Swift
let dataIndex: UInt16? -
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 }