DJI Mobile SDK Documentation

      class DJILDMModule

      @interface DJILDMModule : NSObject
      Header:DJILDMModule.h
      Inherits From:NSObject
      Description:

      Module definition.

      Class Members:
      Initialize
      method
      method initWithModule:andEnable
      - (instancetype)initWithModule:(DJILDMModuleType)moduleType andEnable:(BOOL)isEnabled
      Header:DJILDMModule.h
      Description:

      Initialize instance with the Module.

      Input Parameters:
      DJILDMModuleType moduleTypethe module that you want to enable the network service.
      BOOL isEnabledYES to eanbled the network service.
      LDM Module
      property
      property isEnabled
      @property (nonatomic, readonly) BOOL isEnabled
      Header:DJILDMModule.h
      Description:

      YES if the network service is enabled.

      property
      property moduleType
      @property (nonatomic, readonly) DJILDMModuleType moduleType
      Header:DJILDMModule.h
      Description:

      The type of module. The module that you set to enable the network service.

      See Also:

      DJILDMModuleType

      LDM Module Type
      enum
      enum DJILDMModuleType
      typedef NS_ENUM(NSUInteger, DJILDMModuleType)
      Header:DJILDMModule.h
      Description:

      The type of module. The modules that support network service in LDM mode.

      Enum Members:
      DJILDMModuleTypeFirmwareUpgradeThe module of FirmwareUpgrade. In LDM mode, You can use this type to enable the network service for FirmwareUpgrade, so that you can using the FirmwareUpgrade function as normal.