|
Header: | DJIRemoteControllerBaseTypes.h |
Inherits From: | NSObject |
The configuration for the customizable buttons on the remote controller. The configuration returned by SDK interfaces is immutable. Call mutableCopy
to get a mutable copy in class DJIMutableRCButtonConfiguration
and change the configuration.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the C1 button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the C2 button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the C3 button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the C4 button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the BA button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the BB button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the BC button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the BD button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the BE button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the BF button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the BG button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the BH button.
|
Header: | DJIRemoteControllerBaseTypes.h |
Action bound to the TD button.
|
Header: | DJIRemoteControllerBaseTypes.h |
A dictionary representing the mapping between a customizable button and its action. The key is a NSNumber
with value among DJIRCCustomizableButton
and the value is a NSNumber
with value among DJIRCButtonAction
.
|
Header: | DJIRemoteControllerBaseTypes.h |
Fetch a dictionary representing the mapping between a customizable button and its action. The key is a NSNumber
with value among DJIRCCustomizableButton
and the value is a NSNumber
with value among DJIRCButtonAction
.
NSDictionary<NSNumber *,NSNumber *> * | An NSDictionary of NSNumber objects. |
|
Header: | DJIRemoteControllerBaseTypes.h |
Gets the valid actions for a button. For the compatbility with DJI Go, there are rules to follow when assigning an action to a button:
- DJIRCButtonActionNotDefined
is valid for all buttons and it can be assigned to multiple buttons.
- An action can be only assigned to one button.
- For Button TD, the possible valid actions include DJIRCButtonActionNotDefined
, DJIRCButtonActionFocus
and the actions reserved by SDK (e.g. DJIRCButtonActionCustom100
).
DJIRCCustomizableButton button | The button to check. |
NSArray * | The list of valid actions for a button. |