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.
      method getLocation
      LocationCoordinate3D getLocation()
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Gets the geographical location of breakpoint.
      Note: This feature only supports M30 series and M3E, M3T, M3M aircraft.

      Return:
      LocationCoordinate3DReturns the geographical location of breakpoint.
      method getRecoverActionType
      RecoverActionType getRecoverActionType()
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Gets the breakpoint recover action type.
      Note: This breakpoint recovery type only supports M300 RTK and M350 RTK.

      Return:
      RecoverActionTypeReturns the breakpoint recover action type.
      method setRecoverActionType
      void setRecoverActionType(RecoverActionType recoverActionType)
      Package:dji.v5.manager.aircraft.waypoint3.model
      Description:

      Set breakpoint recovery type. Supports continuing flight from the paused breakpoint, and supports flying to the next waypoint and the next next waypoint of the breakpoint.
      Note: This breakpoint recovery type only supports M300 RTK and M350 RTK.

      Input Parameters:
      RecoverActionType recoverActionTypeThe breakpoint recovery type that needs to be set.