struct PayloadPayload for the EVNotDetectedEvent.
-
The current value of the
EnergyEvseTrait/Attributes/sessionIdattribute.Declaration
Swift
let sessionID: UInt32? -
The value of the
stateattribute prior to the electric vehicle not being detected.Declaration
Swift
let state: Matter.EnergyEvseTrait.StateEnum? -
The total duration of the session, from when the electric vehicle was plugged in until it was unplugged.
Declaration
Swift
let sessionDuration: UInt32? -
The total amount of energy transferred from the EVSE to the electric vehicle during the session. This value is always a positive number.
Declaration
Swift
let sessionEnergyCharged: Int64? -
The total amount of energy transferred from the electric vehicle to the EVSE during the session. This value is always a positive number.
Declaration
Swift
let sessionEnergyDischarged: Int64? -
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 }