DJI Mobile SDK Documentation

      class WaypointV2ActionListener

      interface WaypointV2ActionListener
      Package:dji.sdk.mission.waypoint
      Description:

      Listener that is interested on action event.

      Class Members:
      State
      method
      method onDownloadUpdate
      void onDownloadUpdate(@NonNull ActionDownloadEvent downloadEvent)
      Package:dji.sdk.mission.waypoint
      Description:

      Called when a download event happens.

      Input Parameters:
      @NonNull ActionDownloadEvent downloadEventThe callback interface of ActionDownloadEvent.
      method onUploadUpdate
      void onUploadUpdate(@NonNull ActionUploadEvent uploadEvent)
      Package:dji.sdk.mission.waypoint
      Description:

      Called when an upload event happens.

      Input Parameters:
      @NonNull ActionUploadEvent uploadEventUpload event.
      method onExecutionUpdate
      void onExecutionUpdate(@NonNull ActionExecutionEvent executionEvent)
      Package:dji.sdk.mission.waypoint
      Description:

      Called when an execution update event happens.

      Input Parameters:
      @NonNull ActionExecutionEvent executionEventExecution event.
      method onExecutionStart
      void onExecutionStart(int actionId)
      Package:dji.sdk.mission.waypoint
      Description:

      Called when an execution start event happens.

      Input Parameters:
      int actionIdAn int value of the execution action index.
      method onExecutionFinish
      void onExecutionFinish(int actionId, @Nullable DJIWaypointV2Error error)
      Package:dji.sdk.mission.waypoint
      Description:

      Called when an execution finish event happens.

      Input Parameters:
      int actionIdAn int value of the execution action index.
      @Nullable DJIWaypointV2Error errorAn object of DJIWaypointV2Error.