DJIBluetoothProductConnectorDelegate
@protocol DJIBluetoothProductConnectorDelegate <NSObject>
This protocol provides the delegate method that receives the list of DJI products that can be controlled by Mobile SDK using a Bluetooth connection from the mobile device.
-
Provides the list of DJI products that can be connected with the mobile device over Bluetooth. Delegate will continue to receive an updated list after
[DJIBluetoothProductConnector searchBluetoothProductsWithCompletion:]
is called until the searching is finished (either product is connected or after 10s).Declaration
Objective-C
- (void)connectorDidFindProducts: (NSArray<CBPeripheral *> *_Nullable)peripherals;
Parameters
peripherals
A list of DJI products that found by the connector.