class DJIRadar
@interface DJIRadar : DJIBaseComponent
|
Description:
This class contains components of the Radar and provides methods to change its settings.
Class Members:
State Updates
property delegate
@property(nonatomic, weak) id<DJIRadarDelegate> delegate
|
Description:
Delegate that receives the information sent by the Radar.
Protocol Method
Upward Obstacle Avoidance
method
method setUpwardRadarObstacleAvoidanceEnabled:withCompletion
- (void)setUpwardRadarObstacleAvoidanceEnabled:(BOOL)enabled withCompletion:(DJICompletionBlock)completion
|
Description:
Sets upward radar obstacle avoidance status (enabled/disabled).
BOOL enabled | YES to enabled the upward radar obstacle avoidance. |
DJICompletionBlock completion | The completion block that receives the execution result. |
method getUpwardRadarObstacleAvoidanceEnabledWithCompletion
- (void)getUpwardRadarObstacleAvoidanceEnabledWithCompletion:(void (^_Nonnull)(BOOL enabled, NSError *_Nullable error))completion
|
Description:
Gets upward radar obstacle avoidance status (enabled/disabled).
BOOL enabled | YES if upward radar obstacle avoidance is enabled. |
void (^_Nonnull)(BOOL enabled, NSError *_Nullable error) completion | The completion block that receives the execution result. |
Horizontal Obstacle Avoidance
method
method setHorizontalRadarObstacleAvoidanceEnabled:withCompletion
- (void)setHorizontalRadarObstacleAvoidanceEnabled:(BOOL)enabled withCompletion:(DJICompletionBlock)completion
|
Description:
Sets horizontal radar obstacle avoidance status (enabled/disabled).
BOOL enabled | YES to enabled the horizontal radar obstacle avoidance. |
DJICompletionBlock completion | The completion block that receives the execution result. |
method getHorizontalRadarObstacleAvoidanceEnabledWithCompletion
- (void)getHorizontalRadarObstacleAvoidanceEnabledWithCompletion:(void (^_Nonnull)(BOOL enabled, NSError *_Nullable error))completion
|
Description:
Gets upward horizontal obstacle avoidance status (enabled/disabled).
BOOL enabled | YES if horizontal radar obstacle avoidance is enabled. |
void (^_Nonnull)(BOOL enabled, NSError *_Nullable error) completion | The completion block that receives the execution result. |