KTKDevicesManagerDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | KTKDevicesManager.h |
Required Methods
– devicesManager:didDiscoverDevices:
required method
Tells the delegate that one or more devices were discovered.
- (void)devicesManager:(KTKDevicesManager *)manager didDiscoverDevices:(NSArray<KTKNearbyDevice*> *)devices
Parameters
manager |
The devices manager object reporting the event. |
---|---|
devices |
An list of discovered nearby devices. |
Discussion
Tells the delegate that one or more devices were discovered.
Declared In
KTKDevicesManager.h
Optional Methods
– devicesManagerDidFailToStartDiscovery:withError:
Tells the delegate that a devices discovery error occurred.
- (void)devicesManagerDidFailToStartDiscovery:(KTKDevicesManager *)manager withError:(NSError *)error
Parameters
manager |
The devices manager object reporting the event. |
---|---|
error |
An error object containing the error code that indicates why discovery failed. |
Discussion
Tells the delegate that a devices discovery error occurred.
Declared In
KTKDevicesManager.h