DJI Mobile SDK Documentation

      class BreakPointInfo

      class BreakPointInfo
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Waypoint mission breakpoint information.

      Supported since MSDK 5.6.0

      Class Members:
      method getWaylineID
      Integer getWaylineID()
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Gets the wayline ID of the breakpoint.

      Return:
      IntegerReturns the wayline ID of the breakpoint.
      method setWaylineID
      void setWaylineID(Integer waylineID)
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Sets the wayline ID of the breakpoint.

      Input Parameters:
      Integer waylineIDThe wayline ID of the breakpoint that needs to be set.
      method getWaypointID
      Integer getWaypointID()
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Gets the waypoint ID of the breakpoint.

      Return:
      IntegerReturns the waypoint ID of the breakpoint.
      method setWaypointID
      void setWaypointID(Integer waypointID)
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Sets the waypoint ID of the breakpoint.

      Input Parameters:
      Integer waypointIDThe waypoint ID of the breakpoint that needs to be set.
      method getSegmentProgress
      Double getSegmentProgress()
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Gets the segment percentage position of the breakpoint.

      Return:
      DoubleReturns the segment percentage position of the breakpoint.
      method setSegmentProgress
      void setSegmentProgress(Double progress)
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Sets the segment percentage position of the breakpoint. Range: (0, 1). For example: If you want to start flying at 25% of the segment from waypoint 1 to waypoint 2, you can set the waypointID to 1 and set this parameter to 0.25.

      Input Parameters:
      Double progressThe segment percentage position of the breakpoint that needs to be set.