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

      Class Members:
      Set Trigger Type
      method
      method setTriggerType
      Builder setTriggerType(ActionTriggerType triggerType)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Set Waypoint trigger type.

      Input Parameters:
      ActionTriggerType triggerTypeAn enum value of ActionTriggerType.
      Return:
      BuilderThe build of Builder.
      Set Associate Param
      method
      method setAssociateParam
      Builder setAssociateParam(WaypointV2AssociateTriggerParam associateParam)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the associate param.

      Input Parameters:
      WaypointV2AssociateTriggerParam associateParamThe Object of WaypointV2AssociateTriggerParam.
      Return:
      BuilderThe build of Builder.
      Set Trajectory Param
      method
      method setTrajectoryParam
      Builder setTrajectoryParam(WaypointTrajectoryTriggerParam trajectoryParam)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the trajectory param.

      Input Parameters:
      WaypointTrajectoryTriggerParam trajectoryParamThe Object of WaypointTrajectoryTriggerParam.
      Return:
      BuilderThe build of Builder.
      Set Simple Reach Point Param
      method
      method setReachPointParam
      Builder setReachPointParam(WaypointReachPointTriggerParam simpleReachPointParam)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the simple reach point param.

      Input Parameters:
      WaypointReachPointTriggerParam simpleReachPointParamThe Object of WaypointReachPointTriggerParam.
      Return:
      BuilderThe build of Builder.
      Set Simple Interval Trigger Param
      method
      method setIntervalTriggerParam
      Builder setIntervalTriggerParam(WaypointIntervalTriggerParam intervalTriggerParam)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the simple interval trigger param.

      Input Parameters:
      WaypointIntervalTriggerParam intervalTriggerParamThe Object of WaypointIntervalTriggerParam.
      Return:
      BuilderThe build of Builder.
      Build
      method
      method build
      WaypointTrigger build()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Create an object of WaypointTrigger.

      Return:
      WaypointTriggerThe build of WaypointTrigger.