class PanoramaMissionOperator
class PanoramaMissionOperator
|
| Package: | dji.sdk.mission.panorama |
Description:
The panorama mission operator is the only object that controls, runs and monitors Panorama Missions. It can be accessed from MissionControl.
Class Members:
method getCurrentState
@NonNull PanoramaMissionState getCurrentState()
|
| Package: | dji.sdk.mission.panorama |
Description:
The current state of the operator.
Return:
method addListener
void addListener(@NonNull PanoramaMissionOperatorListener listener)
|
| Package: | dji.sdk.mission.panorama |
Description:
Adds listener to receive all events of the Panorama mission operator.
method removeListener
void removeListener(@NonNull PanoramaMissionOperatorListener listener)
|
| Package: | dji.sdk.mission.panorama |
Description:
Removes listener. The listener will not receive any update after calling this method.
method removeAllListeners
void removeAllListeners()
|
| Package: | dji.sdk.mission.panorama |
Description:
Remove all listeners.
method setup
void setup(@NonNull PanoramaMode mode, @Nullable CompletionCallback callback)
|
| Package: | dji.sdk.mission.panorama |
Description:
Sets up the Panorama mission with the specific mode. It can only be called when the getCurrentState is one of the following: If the setup starts successfully, getCurrentState will become SETTING_UP. Normally, it will take seconds to complete the setup. Once setup is completed successfully, getCurrentState will become READY_TO_EXECUTE.
| @NonNull PanoramaMode mode | An enum value of PanoramaMode. |
| @Nullable CompletionCallback callback | The execution callback with the returned execution result. |
method startMission
void startMission(@Nullable CompletionCallback callback)
|
| Package: | dji.sdk.mission.panorama |
Description:
Starts to execute the mission that has been setup.
It can only be called when the getCurrentState is READY_TO_EXECUTE.
If the mission is started successfully, the getCurrentState will become EXECUTING.
| @Nullable CompletionCallback callback | The execution callback with the returned execution result. |
method stopMission
void stopMission(@Nullable CompletionCallback callback)
|
| Package: | dji.sdk.mission.panorama |
Description:
Stops the executing mission. It can only be called when the getCurrentState is EXECUTING. After a mission is stopped successfully, getCurrentState will become READY_TO_EXECUTE.
| @Nullable CompletionCallback callback | The execution callback with the returned execution result. |
enum PanoramaMode
@EXClassNullAway enum PanoramaMode
|
| Package: | dji.common.mission.panorama |
Description:
Defines options for different types of modes for Panorama mission.
Enum Members:
| FULL_CIRCLE | 360 Degree Panorama mode. |
| HALF_CIRCLE | 180 Degree Panorama mode. Also known as selfie mode. |
| UNKNOWN | Unknown mode. |
Class Members: