struct PayloadPayload for the TargetUpdatedEvent.
-
Indicates the updated target list if there is a change in the list of targets.
Declaration
Swift
let targetList: [Matter.TargetNavigatorTrait.TargetInfoStruct]? -
Indicates the updated target that is in the foreground.
Declaration
Swift
let currentTarget: UInt8? -
Contains optional app-specific data.
Declaration
Swift
let data: Data? -
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 }