DJI Mobile SDK Documentation

      class WaypointV2ExecutionProgress

      interface WaypointV2ExecutionProgress
      Package:dji.common.mission.waypointv2
      Description:

      The mission execution progress of the waypoint mission operator.

      Class Members:
      Target Waypoint Index
      method
      method getTargetWaypointIndex
      int getTargetWaypointIndex()
      Package:dji.common.mission.waypointv2
      Description:

      The index of the waypoint in the mission to which the aircraft will proceed.

      Return:
      intAn int value of the target waypoint index.
      Is Waypoint Reached
      method
      method isWaypointReached
      boolean isWaypointReached()
      Package:dji.common.mission.waypointv2
      Description:

      true when the aircraft reaches a waypoint. After the waypoint actions and heading change are complete, the getTargetWaypointIndex will increment and this property will become false.

      Return:
      booleanA boolean value to check waypoint reached.
      Execution State
      method
      method getExecuteState
      @NonNull
      WaypointV2MissionExecuteState getExecuteState()
      Package:dji.common.mission.waypointv2
      Description:

      Current execution state of the aircraft.

      Return:
      WaypointV2MissionExecuteStateAn enum value of the WaypointV2MissionExecuteState.