Please select Into the mobile phone version | Continue to access the computer ver.
API to retrieve Flight Logs
50 0 7-31 13:27
Uploading and Loding Picture ...(0/1)
o(^-^)o
DJI_Lisa
Second Officer
South Africa
Online

The APIs to get your pilot's flight logs, are not obvious - so I'm listing them out here with a link:

iOS: getLogPath  https://developer.dji.com/api-reference/ios-api/Components/SDKManager/DJISDKManager.html#djisdkmanager_getlogpath_inline


Android: getLogPath  https://developer.dji.com/api-reference/android-api/Components/SDKManager/DJISDKManager.html#djisdkmanager_getlogpath_inline

method getLogPath
@NonNull
String getLogPath()
Package:dji.sdk.sdkmanager
Description:
Gets the path that flight logs are stored to. Flight logs are automatically generated and stored on the mobile device. The SDK does nothing with these logs, and they are provided only as a convenience for developers and users. Users can use these flight logs with DJI service centers if they are making a warranty claim. Only developers using the SDK, and users of the mobile device can access these logs. Older flight logs are overwritten by newer flight logs over time, so the flight log path is given in case an application needs to store all logs.
Return:
StringAn NSString object of the flight log path.

7-31 13:27
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules