Structure
Device.ReportedEvents
public struct ReportedEvents: Decodable, Equatable
Represents the latest known reported values for a Device
. Any of the event types that is not available for that particular device type, or that have not yet received an event, will be nil
.
Relationships
Member Of
Device
Represents a Sensor or Cloud Connector from Disruptive Technologies.
Conforms To
Decodable
Equatable
Initializers
init()
public init()
Properties
touch
public var touch : TouchEvent?
touchCount
public var touchCount : TouchCountEvent?
temperature
public var temperature : TemperatureEvent?
humidity
public var humidity : HumidityEvent?
objectPresent
public var objectPresent : ObjectPresentEvent?
objectPresentCount
public var objectPresentCount : ObjectPresentCountEvent?
waterPresent
public var waterPresent : WaterPresentEvent?
batteryStatus
public var batteryStatus : BatteryStatusEvent?
networkStatus
public var networkStatus : NetworkStatusEvent?
ethernetStatus
public var ethernetStatus : EthernetStatusEvent?
cellularStatus
public var cellularStatus : CellularStatusEvent?
connectionStatus
public var connectionStatus : ConnectionStatusEvent?