DJIBaseProductDelegate
@protocol DJIBaseProductDelegate <NSObject>
This protocol provides delegate methods to be notified about component and product connectivity changes.
-
Callback delegate method when a component object changes.
Declaration
Objective-C
- (void)componentWithKey:(nonnull NSString *)key changedFrom:(DJIBaseComponent *_Nullable)oldComponent to:(DJIBaseComponent *_Nullable)newComponent;
-
Called when the connectivity status changes for the base product.
Declaration
Objective-C
- (void)product:(nonnull DJIBaseProduct *)product connectivityChanged:(BOOL)isConnected;
-
Callback function that updates the product’s current diagnostics information.
Declaration
Objective-C
- (void)product:(DJIBaseProduct *_Nonnull)product didUpdateDiagnosticsInformation:(NSArray *_Nonnull)info;