IVSDeviceDiscoveryDelegate
Objective-C
@protocol IVSDeviceDiscoveryDelegate <NSObject>
Swift
protocol IVSDeviceDiscoveryDelegate : NSObjectProtocol
Use this delegate to be notified about added / removed devices
-
Devices have been added (connected)
Declaration
Objective-C
- (void)devicesAdded:(nonnull NSArray<IVSDeviceDescriptor *> *)added;
Swift
optional func devicesAdded(_ added: [IVSDeviceDescriptor])
Parameters
The
array of added devices
-
Devices have been removed (disconnected)
Declaration
Objective-C
- (void)devicesRemoved:(nonnull NSArray<IVSDeviceDescriptor *> *)removed;
Swift
optional func devicesRemoved(_ removed: [IVSDeviceDescriptor])
Parameters
The
array of removed devices