class DJIAccessoryAggregation
@interface DJIAccessoryAggregation : DJIBaseComponent
Description:
This class contains all possible accessories (spotlight, beacon and speaker) supported by the aircraft. The accessory aggregation component is available when Mavic 2 Enterprise is connected. An accessory becomes available only when the accessory is connected to the aircraft.
Class Members:
property delegate
@property (nonatomic , weak ) id <DJIAccessoryAggregationDelegate> delegate
Header: DJIAccessoryAggregation.h
Description:
Delegate to receive the state change of accessories.
See Also:
DJIAccessoryAggregationDelegate
Spotlight Accessory
property
property spotlight
@property (nonatomic , readonly ) DJISpotlight *spotlight
Header: DJIAccessoryAggregation.h
Description:
The spotlight accessory. nil
if it is not connected.
See Also:
DJISpotlight
property beacon
@property (nonatomic , readonly ) DJIBeacon *beacon
Header: DJIAccessoryAggregation.h
Description:
The beacon accessory. nil
if it is not connected.
See Also:
DJIBeacon
property speaker
@property (nonatomic , readonly ) DJISpeaker *speaker
Header: DJIAccessoryAggregation.h
Description:
The speaker accessory. nil
if it is not connected.
See Also:
DJISpeaker
protocol DJIAccessoryAggregationDelegate
@protocol DJIAccessoryAggregationDelegate <NSObject >
Header: DJIAccessoryAggregation.h Inherits From: NSObject
Description:
Delegate to receive the state change of accessories.
Protocol Methods:
Protocol Method
method accessoryAggregation:didUpdateState
@optional
- (void )accessoryAggregation:(DJIAccessoryAggregation *_Nonnull)aggregation didUpdateState:(DJIAccessoryAggregationState *_Nonnull)state
Header: DJIAccessoryAggregation.h
Description:
The accessory aggregation updates the accessory aggregation state.