Local Data Mode (LDM) manager. When Local Data Mode is enabled, the SDK's access to the internet is restricted. You should use registerAppForLDMWithDelegate 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. *DJILDMManagerSupportedChangedNotification and *DJILDMManagerEnabledChangedNotification can be used to monitor changes in state for availability of LDM support and whether LDM is enabled or not. When Local Data Mode is enabled, the UTMISSManager will not report flight dynamic data to the UTMISS server.
YES if LDM is supported in the current context. The SDK locally uses GPS location and MCC (mobile country code) to determine the country of operation. If LDM is not enabled and the internet is accessible, the IP address is also used to determine the country of operation. The default value is YES after the first installation.
Enables LDM. Can only be enabled if isLDMSupported is YES. Please call getIsLDMSupportedWithCompletion methods firstly. Call this method before calling the other methods of SDK (including registerAppWithDelegate) to restrict the internet access of SDK (SDK registration is unrestricted).
Notification if LDM support has changed. If LDM support changes from YES to NO, and LDM is enabled, then LDM will be disabled after 2 minutes (120s) if isLDMSupported remains NO.
Notification for when LDM module network services changed. When the notification comes, you could get the network service status with isLDMModuleNetworkServiceEnabled.