Structure
EthernetStatusEvent
public struct EthernetStatusEvent: Codable, Equatable
Details about the current ethernet connection status of a Cloud Connector.
See the Developer Website for more details.
Relationships
Nested Types
EthernetStatusEvent.ErrorMessage
Indicates an error related to connecting to the local network.
Conforms To
PublishableEvent
Used by event types (such as
TouchEvent
) to indicate that they can be published to the device emulator.Codable
Equatable
Initializers
init(macAddress:ipAddress:errors:timestamp:)
public init(macAddress: String, ipAddress: String, errors: [ErrorMessage], timestamp: Date)
Creates a new EthernetStatusEvent
.
init(from:)
public init(from decoder: Decoder) throws
Properties
timestamp
public let timestamp: Date
The timestamp of when the ethernet status event was generated by a Cloud Connector.
eventType
public var eventType: EventType
Methods
encode(to:)
public func encode(to encoder: Encoder) throws