DIALDeviceDiscoveryTaskDelegate
@protocol DIALDeviceDiscoveryTaskDelegate <NSObject>
Protocol for DIALDeviceDiscoveryTask delegate object. Apart from this delegate mechanism, device-discovery is made known to observers via notifications (the ‘DIALDeviceDiscoveryNotif’ notification).
-
Callback triggered when a device was found
Declaration
Objective-C
- (void)DIALDeviceDiscovery:(DIALDeviceDiscoveryTask *)task didFindDevice:(DIALDevice *)device;
Swift
func dialDeviceDiscovery(_ task: DIALDeviceDiscoveryTask!, didFind device: DIALDevice!)
Parameters
task
the DIALDiscoveryTask that found the device
device
the discovered device as a DIALDevice instance
-
Callback triggered when as a DIALDeviceDiscoveryTask was aborted.
Declaration
Objective-C
- (void)DIALDeviceDiscoveryAborted:(DIALDeviceDiscoveryTask *)task;
Swift
func dialDeviceDiscoveryAborted(_ task: DIALDeviceDiscoveryTask!)
Parameters
task
the aborted DIALDeviceDiscoveryTask