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 WaypointGimbalPathPointInfo.

      Class Members:
      Set Running Time
      method
      method runningTime
      Builder runningTime(float runningTime)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the running time.

      Input Parameters:
      float runningTimeA float value of running time. (unit:second)
      Return:
      BuilderThe build of Builder.
      Set Stay TIme
      method
      method stayTime
      Builder stayTime(float stayTime)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the stay time.

      Input Parameters:
      float stayTimeA float value of stay time.(unit:second)
      Return:
      BuilderThe build of Builder.
      Set Euler Roll
      method
      method eulerRoll
      Builder eulerRoll(float eulerRoll)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the roll angle.

      Input Parameters:
      float eulerRollEuler target angle for roll(North East Down coordinate system). Unit:degree.
      Return:
      BuilderThe build of Builder.
      Set Pitch Angle
      method
      method eulerPitch
      Builder eulerPitch(float eulerPitch)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the pitch angle.

      Input Parameters:
      float eulerPitchEuler target angle for pitch(North East Down coordinate system). Unit:degree.
      Return:
      BuilderThe build of Builder.
      Set Yaw Angle
      method
      method eulerYaw
      Builder eulerYaw(float eulerYaw)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the yaw angle.

      Input Parameters:
      float eulerYawEuler target angle for yaw (Unit:degree). The yaw angle is relative to the aircraft heading. If you set yaw angle to 0 degree, the direction of the gimbal will be the same as the aircraft heading.
      Return:
      BuilderThe build of Builder.
      Build
      method
      method build
      WaypointGimbalPathPointInfo build()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Generates the immutable object.

      Return:
      WaypointGimbalPathPointInfoThe build of Builder.