Disruptive Documentation

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:

%73 Events Events Equatable Equatable Events->Equatable

Conforms To

Equatable

Initializers

init()

public init()  

Properties

touch

public var touch              : [TouchEvent]? 

temperature

public var temperature        : [TemperatureEvent]? 

object​Present

public var objectPresent      : [ObjectPresentEvent]? 

humidity

public var humidity           : [HumidityEvent]? 

object​Present​Count

public var objectPresentCount : [ObjectPresentCountEvent]? 

touch​Count

public var touchCount         : [TouchCountEvent]? 

water​Present

public var waterPresent       : [WaterPresentEvent]? 

network​Status

public var networkStatus      : [NetworkStatusEvent]? 

battery​Status

public var batteryStatus      : [BatteryStatusEvent]? 

connection​Status

public var connectionStatus   : [ConnectionStatusEvent]? 

ethernet​Status

public var ethernetStatus     : [EthernetStatusEvent]? 

cellular​Status

public var cellularStatus     : [CellularStatusEvent]? 

Methods

merge(with:​)

public mutating func merge(with other: Events)