Disruptive Documentation

Structure Device.​Reported​Events

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.

%173 Device.ReportedEvents Device.ReportedEvents Equatable Equatable Device.ReportedEvents->Equatable Decodable Decodable Device.ReportedEvents->Decodable

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? 

touch​Count

public var touchCount         : TouchCountEvent? 

temperature

public var temperature        : TemperatureEvent? 

humidity

public var humidity           : HumidityEvent? 

object​Present

public var objectPresent      : ObjectPresentEvent? 

object​Present​Count

public var objectPresentCount : ObjectPresentCountEvent? 

water​Present

public var waterPresent       : WaterPresentEvent? 

battery​Status

public var batteryStatus      : BatteryStatusEvent? 

network​Status

public var networkStatus      : NetworkStatusEvent? 

ethernet​Status

public var ethernetStatus     : EthernetStatusEvent? 

cellular​Status

public var cellularStatus     : CellularStatusEvent? 

connection​Status

public var connectionStatus   : ConnectionStatusEvent?