Structure
Events
public struct Events: Equatable
Contains an array of events for each type of event for a specific Device
. Detailed documentation for each event type can be found on Disruptive Technologies' developer website.
Functions relevant for Events
are implemented on the Disruptive
struct:
Relationships
Conforms To
Equatable
Initializers
init()
public init()
Properties
touch
public var touch : [TouchEvent]?
temperature
public var temperature : [TemperatureEvent]?
objectPresent
public var objectPresent : [ObjectPresentEvent]?
humidity
public var humidity : [HumidityEvent]?
objectPresentCount
public var objectPresentCount : [ObjectPresentCountEvent]?
touchCount
public var touchCount : [TouchCountEvent]?
waterPresent
public var waterPresent : [WaterPresentEvent]?
networkStatus
public var networkStatus : [NetworkStatusEvent]?
batteryStatus
public var batteryStatus : [BatteryStatusEvent]?
connectionStatus
public var connectionStatus : [ConnectionStatusEvent]?
ethernetStatus
public var ethernetStatus : [EthernetStatusEvent]?
cellularStatus
public var cellularStatus : [CellularStatusEvent]?
Methods
merge(with:)
public mutating func merge(with other: Events)