DataProtectionManager class is used to protect user data. In order to complete the function logic or report event tracking data, DJI MSDK will send user data to the DJI server in the background. You can agree or disagree with DJI MSDK to report user data through this manager.
Note: This manager only manage the user data reported by the DJI MSDK background, and does not manage the user data passed in by calling the interface.
Agree or disagree with the product improvement project. Through this project, DJI MSDK will collect DJI device UUID, mobile device UUID and diagnostic and usage data for user behavior analysis. This analysis helps DJI improve products and services. DJI will take necessary data protection measures before data analysis.
Enable or disable the MSDK log storage. This function is enabled by default. You can get the log storage path through getMSDKLogPath. When a problem occurs with the MSDK, you can send this MSDK log to DJI for analysis and problem solving. When there are too many logs, you can call clearMSDKLog to clear the logs.
Supported since MSDK 5.10.0
Input Parameters:
boolean enabled
true means enabling the MSDK log storage function.