DJI Mobile SDK Documentation

      class Builder

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

      The class is used to create the instance of WaypointActuator.

      Class Members:
      Set Actuator Type
      method
      method setActuatorType
      Builder setActuatorType(ActionActuatorType actuatorType)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the DJIWaypointV2Action_DJIWaypointV2Actuator_type.

      Input Parameters:
      ActionActuatorType actuatorTypeThe value of missionID to set.
      Return:
      BuilderThe build of Builder.
      Set Camera Actuator Param
      method
      method setCameraActuatorParam
      Builder setCameraActuatorParam(WaypointCameraActuatorParam cameraActuatorParam)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the camera actuator param, it's only valid when ActionActuatorType is CAMERA.

      Input Parameters:
      WaypointCameraActuatorParam cameraActuatorParamThe object of WaypointCameraActuatorParam.
      Return:
      BuilderThe build of Builder.
      Set Gimbal Actuator Param
      method
      method setGimbalActuatorParam
      Builder setGimbalActuatorParam(WaypointGimbalActuatorParam gimbalActuatorParam)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the gimbal actuator param, it's only valid when ActionActuatorType is GIMBAL.

      Input Parameters:
      WaypointGimbalActuatorParam gimbalActuatorParamThe object of WaypointGimbalActuatorParam.
      Return:
      BuilderThe build of Builder.
      Set Aircraft Control Actuator Param
      method
      method setAircraftControlActuatorParam
      Builder setAircraftControlActuatorParam(WaypointAircraftControlParam aircraftControlActuatorParam)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the aircraft actuator param, it's only valid when ActionActuatorType is AIRCRAFT_CONTROL.

      Input Parameters:
      WaypointAircraftControlParam aircraftControlActuatorParamThe object of WaypointAircraftControlParam.
      Return:
      BuilderThe build of Builder.
      Set Lidar Actuator Param
      method
      method setLidarActuatorParam
      Builder setLidarActuatorParam(WaypointLidarActuatorParam lidarActuatorParam)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the lidar param, it's only valid when ActionActuatorType is LIDAR.

      Input Parameters:
      WaypointLidarActuatorParam lidarActuatorParamThe object of WaypointLidarActuatorParam.
      Return:
      BuilderThe build of Builder.
      Set Actuator Index
      method
      method setActuatorIndex
      Builder setActuatorIndex(int index)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the DJIWaypointV2Action_DJIWaypointV2Actuator_actuatorIndex.

      Input Parameters:
      int indexThe actuator index.
      Return:
      BuilderThe build of Builder.
      Build
      method
      method build
      WaypointActuator build()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Generates the immutable class.

      Return:
      WaypointActuatorThe object of WaypointActuator.