static class ButtonConfigurationBuilder |
Package: | dji.common.remotecontroller |
This class is for generating the instance of ButtonConfiguration
ButtonConfiguration build() |
Package: | dji.common.remotecontroller |
The build method for generating ButtonConfiguration
.
ButtonConfiguration | An object of ButtonConfiguration . |
ButtonConfigurationBuilder buildDefaultButtonConfiguration() |
Package: | dji.common.remotecontroller |
Build ButtonConfiguration
with default configuration.
ButtonConfigurationBuilder | An object of ButtonConfiguration class. |
ButtonConfigurationBuilder buildButtonConfigurationWithMap(Map<CustomizableButton, ButtonAction> map) |
Package: | dji.common.remotecontroller |
Build ButtonConfiguration
with a Map<CustomizableButton, ButtonAction>.
Map<CustomizableButton, ButtonAction> map | A Map<CustomizableButton, ButtonAction>. |
ButtonConfigurationBuilder | An object of ButtonConfigurationBuilder class. |
ButtonConfigurationBuilder configButton(CustomizableButton button, ButtonAction buttonAction) |
Package: | dji.common.remotecontroller |
Configure one button with a buttonAction, need be called after the calling of buildButtonConfigurationWithMap
or buildDefaultButtonConfiguration
.
CustomizableButton button | An enum value of CustomizableButton . |
ButtonAction buttonAction | An enum value of ButtonAction . |
ButtonConfigurationBuilder | An object of ButtonConfigurationBuilder class. |
ButtonAction[] getValidActionsForButton(CustomizableButton button) |
Package: | dji.common.remotecontroller |
Return the array list of ButtonAction
enum values could be configured to one button.
CustomizableButton button | An enum value of CustomizableButton . |
ButtonAction[] | An array of the ButtonAction enum values. |
{{searchCount}} Results