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

      Class Members:
      Set Start Index
      method
      method setStartIndex
      Builder setStartIndex(int startIndex)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the waypoint index to start.

      Input Parameters:
      int startIndexThe start index of waypoint.
      Return:
      BuilderThe build of Builder.
      Set Type
      method
      method setType
      Builder setType(ActionIntervalType type)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the waypoint action trigger type.

      Input Parameters:
      ActionIntervalType typeThe enum value of ActionTriggerType.
      Return:
      BuilderThe build of Builder.
      Set Interval
      method
      method setInterval
      Builder setInterval(float interval)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the interval.

      Input Parameters:
      float intervalA float value of interval.
      Return:
      BuilderThe build of Builder.
      Build
      method
      method build
      WaypointIntervalTriggerParam build()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Generates the immutable object.

      Return:
      WaypointIntervalTriggerParamThe build of WaypointIntervalTriggerParam.