# class ILDMManager

    interface ILDMManager

Package: | dji.v5.manager.interfaces

##### Description:

Local Data Mode (LDM) manager. When Local Data Mode is enabled, the SDK's access to the internet is restricted. You should use `DJISDKManager_registerAppForLDM` to register the app. Only application registration (confirming the app key is valid) will be unrestricted. All other SDK services will be restricted. When the SDK's internet access is restricted, all SDK services that require an internet connection will not be available or able to update. For instance, the Fly Zone manager will not be able to update the fly zone data base, retrieve the latest TFRs (temporary flight restrictions) or unlock fly zones. LDM is therefore most appropriate for users that have very stringent data requirements, and are able to accommodate this restricted functionality. When Local Data Mode is enabled, the UTMISSManager will not report flight dynamic data to the UTMISS server.

##### Class Members:

method
isLDMLicenseLoaded

###### method isLDMLicenseLoaded

    boolean isLDMLicenseLoaded()

Package: | dji.v5.manager.interfaces

##### Description:

After calling`DJILDMManager_enableLDM`, MSDK will check if there is a local LDM license. Otherwise, it will ask the server to transmit a LDM license. If the LDM license has been loaded and activated, then return`true`.

##### Return:

boolean | `true`means the LDM certificate has been loaded and activated.

method
isLDMEnabled

###### method isLDMEnabled

    boolean isLDMEnabled()

Package: | dji.v5.manager.interfaces

##### Description:

Return whether the LDM is enabled.

##### Return:

boolean | `true`means LDM is enabled.

method
isNetworkServiceEnabledForModule

###### method isNetworkServiceEnabledForModule

    boolean isNetworkServiceEnabledForModule(LDMExemptModule module)

Package: | dji.v5.manager.interfaces

##### Description:

Check the internet access of input LDMExemptModule.

##### Input Parameters:

LDMExemptModule module | LDM exempt module.

##### Return:

boolean | `true`means LDM is not enabled or the input LDMExemptModule still has internet access when LDM is enabled.`false` means LDM is enabled and the input LDMExemptModule has no internt access.

method
loadLocalLDMLicenseContent

###### method loadLocalLDMLicenseContent

    IDJIError loadLocalLDMLicenseContent(String content)

Package: | dji.v5.manager.interfaces

##### Description:

Load the content of LDM license, the content is the license_appname.txt given by developer website after successfully applying the LDM license.

##### Input Parameters:

String content | The content of LDM License, the content is the license_appname.txt given by developer website after successfully applying the LDM license.

##### Return:

IDJIError | Return the loading execution result of LDM License. The result is successful if returning null.

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found