DJI Mobile SDK Documentation

      class Builder

      static class Builder
      Package:dji.common.mission.waypointv2.Action
      Description:

      The class is used to create the instance of WaypointGimbalStartPathShootingParam.

      Class Members:
      Set Path Cycle Mode
      method
      method pathCycleMode
      Builder pathCycleMode(ActionTypes.GimbalPathCycleMode pathCycleMode)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets path cycle mode.

      Input Parameters:
      ActionTypes.GimbalPathCycleMode pathCycleModeAn enum value of the GimbalPathCycleMode.
      Return:
      BuilderThe build of Builder.
      Set Point Num
      method
      method pointNum
      Builder pointNum(int pointNum)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the point number, indicates the number of point you wish to execute. Usually, it is the size of the getPointInfo list.

      Input Parameters:
      int pointNumAn int value of point number.
      Return:
      BuilderThe build of Builder.
      Set Point Info List
      method
      method pointInfo
      Builder pointInfo(List<WaypointGimbalPathPointInfo> pointInfo)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the list of the point information.

      Input Parameters:
      List<WaypointGimbalPathPointInfo> pointInfoThe list of point information
      Return:
      BuilderThe build of Builder.
      Build
      method
      method build
      WaypointGimbalStartPathShootingParam build()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Generates the immutable object.

      Return:
      WaypointGimbalStartPathShootingParamThe build of Builder.