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

      Class Members:
      Set Action ID
      method
      method setActionID
      Builder setActionID(int actionID)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the action id.

      Input Parameters:
      int actionIDThe value of action id.
      Return:
      BuilderThe build of Builder.
      Set Trigger
      method
      method setTrigger
      Builder setTrigger(WaypointTrigger trigger)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the trigger.

      Input Parameters:
      WaypointTrigger triggerThe object of WaypointTrigger.
      Return:
      BuilderThe build of Builder.
      Set Actuator
      method
      method setActuator
      Builder setActuator(WaypointActuator actuator)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the actuator.

      Input Parameters:
      WaypointActuator actuatorThe object of WaypointActuator.
      Return:
      BuilderThe build of Builder.
      Build
      method
      method build
      WaypointV2Action build()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Create an object of WaypointV2Action.

      Return:
      WaypointV2ActionThe object of WaypointV2Action.