DJI Mobile SDK Documentation

      class Builder

      static class Builder
      Package:dji.common.flightcontroller.rtk
      Description:

      The class is used to build a NetworkServicePlansState instance.

      Class Members:
      method
      method state
      Builder state(NetworkServiceAccountState state)
      Package:dji.common.flightcontroller.rtk
      Description:

      Sets current account state.

      Input Parameters:
      NetworkServiceAccountState stateAn enum value of NetworkServiceAccountState.
      Return:
      BuilderA builder instance.
      method supportedRenewalTimes
      Builder supportedRenewalTimes(int supportedRenewalTimes)
      Package:dji.common.flightcontroller.rtk
      Description:

      Sets network RTK supported renewal times.

      Input Parameters:
      int supportedRenewalTimesAn int value.
      Return:
      BuilderA builder instance.
      method
      method plans
      Builder plans(List<NetworkServicePlan> plans)
      Package:dji.common.flightcontroller.rtk
      Description:

      Sets network RTK plans.

      Input Parameters:
      List<NetworkServicePlan> plansA List of NetworkServicePlan.
      Return:
      BuilderA builder instance.
      method
      method build
      NetworkServicePlansState build()
      Package:dji.common.flightcontroller.rtk
      Description:

      Builds an instance of NetworkServicePlansState.

      Return:
      NetworkServicePlansStateAn instance of NetworkServicePlansState.