Offline Mode - How to use SDK without Internet
2594 0 2020-7-31
Uploading and Loding Picture ...(0/1)
o(^-^)o
DJI_Lisa
lvl.4
Hong Kong
Offline

If you would like to give your users the option to fly offline you can utilize Local Data Mode (LDM) to restrict DJI's SDK's access to the internet. This will limit internet connection to when the application is initially loaded and turned on so that the SDK can confirm that the app key of your app is valid. After that, internet access is turned off.  But this also means that all other SDK services will be restricted.  So features like 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.


iOS: https://developer.dji.com/api-reference/ios-api/Components/LDMManager/DJILDMManager.html#djildmmanager
Android: https://developer.dji.com/api-reference/android-api/Components/LDMManager/DJILDMManager.html
2020-7-31
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules