init(eventType:device:)
Creates an event object that conveys status for a discovered device of interest.
Declaration
init(eventType type: DDDeviceEvent.EventType, device: DDDevice)Parameters
- type:
The option that represents the device’s status in the device discovery life cycle.
- device:
The discovered device of interest.