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

      Class Members:
      Set Associate Type
      method
      method setAssociateType
      Builder setAssociateType(AssociatedTimingType associateType)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the AssociateType of the trigger. The AssociateType determines the time and the way to trigger the action to execute.

      Input Parameters:
      AssociatedTimingType associateTypeAn enum value of AssociatedTimingType.
      Return:
      BuilderThe build of Builder.
      Set Waiting Time
      method
      method setWaitingTime
      Builder setWaitingTime(float waitingTimeInSec)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the waiting time.

      Input Parameters:
      float waitingTimeInSecA float value of the waiting time in sec.
      Return:
      BuilderThe build of Builder.
      Set Associate Action ID
      method
      method setAssociateActionID
      Builder setAssociateActionID(int associateActionID)
      Package:dji.common.mission.waypointv2.Action
      Description:

      Sets the action id the trigger associated with.

      Input Parameters:
      int associateActionIDAn int value of the associate action ID.
      Return:
      BuilderThe build of Builder.
      Build
      method
      method build
      WaypointV2AssociateTriggerParam build()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Generate the immutable class.

      Return:
      WaypointV2AssociateTriggerParamThe build of WaypointV2AssociateTriggerParam.