DJI Mobile SDK Documentation

      class Builder

      static class Builder
      Package:dji.sdk.sdkmanager
      Description:

      Default constructor of LDMModule.

      Class Members:
      Build
      method
      method build
      LDMModule build()
      Package:dji.sdk.sdkmanager
      Description:

      Generate an object for LDMModule.

      Return:
      LDMModuleThe object of LDMModule.
      method
      method enabled
      Builder enabled(boolean enabled)
      Package:dji.sdk.sdkmanager
      Description:

      true to enable the network service.

      Input Parameters:
      boolean enabledtrue to enable the network service.
      Return:
      BuilderThe build of Builder.
      method moduleType
      Builder moduleType(LDMModuleType moduleType)
      Package:dji.sdk.sdkmanager
      Description:

      The type of module. The module that you want to enable network service in LDM mode.

      Input Parameters:
      LDMModuleType moduleTypeLDMModuleType object to set.
      Return:
      BuilderThe build of Builder.