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.
After callingDJILDMManager_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 returntrue.
Return:
boolean
truemeans the LDM certificate has been loaded and activated.
Check the internet access of input LDMExemptModule.
Input Parameters:
LDMExemptModule module
LDM exempt module.
Return:
boolean
truemeans 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.