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
taskthe DIALDiscoveryTask that found the device
devicethe 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
taskthe aborted DIALDeviceDiscoveryTask
View on GitHub
DIALDeviceDiscoveryTaskDelegate Protocol Reference