staticfinal DJISDKError DEVICE_NOT_MATCH = new DJISDKError("Attempt to copy metadata from another registered device is not permitted.")
Package:
dji.common.error
Description:
The attempt to copy metadata from another registered device to a device that is currently connected is not permitted. For example, if a developer has two devices and the application is activated with the app key on one of the devices and if the other device is plugged in and tries to register the application, this error will occur.
staticfinal DJISDKError BUNDLE_NOT_MATCH = new DJISDKError( "The bundle identifier of your app should be identical to the one you registered on the website.")
Package:
dji.common.error
Description:
The bundle identifier of your application does not match the bundle identifier you registered on the developer website when you applied to obtain an application key.
staticfinal DJISDKError APP_KEY_PROHIBITED = new DJISDKError("The app key is prohibited, please contact <dev@dji.com> for help.")
Package:
dji.common.error
Description:
The application key is prohibited. This occurs when an application key that has already been released by DJI is revoked. Please contact DJI for assistance.
staticfinal DJISDKError MAX_ACTIVATION_COUNT_REACHED = new DJISDKError("The app key reached maximum number of activations, please contact <dev@dji.com> for help.")
Package:
dji.common.error
Description:
There is a maximum number of devices one application key can be used to activate. The maximum number of devices is given when an application is registered on the DJI developer website. This error will occur if the maximum number of activations has been reached.
staticfinal DJISDKError APP_KEY_INVALID_PLATFORM = new DJISDKError("The app key is not valid for this platform.")
Package:
dji.common.error
Description:
This error occurs when an application key was given for a specific platform and is trying to be used to activate an application for another platform. For instance, if an application key was given for an iOS application and is used to activate an Android application, this error will occur.
staticfinal DJISDKError APP_KEY_LEVEL_NOT_PERMITTED = new DJISDKError("The app key does not have the required permission.")
Package:
dji.common.error
Description:
There are two levels for the SDK framework, level 1 and level 2. If an application key was given under one level and is trying to be used to active an application using another level SDK framework, this error will occur.
staticfinal DJISDKError OVER_MAX_ACTIVATIONS_COUNT = new DJISDKError("SDK user who do not have the professional membership only could have the maximum of 20 unique activations.")
Package:
dji.common.error
Description:
Applications under basic develop account could only have the maximum of 20 unique activations. Visit DJI developer center https://developer.dji.com/user/membership/ to upgrade the membership.
staticfinal DJISDKError APP_KEY_NOT_ENROLLED_BY_BETA_SDK = new DJISDKError("The application is not enrolled in the Beta Program. Use an app key under the Beta Program instead.")
Package:
dji.common.error
Description:
The application is not enrolled in the Beta Program. Use an app key under the Beta Program instead.
final DOWNLOAD_FLYSAFE_DATABASE_FAILED_WITH_LDM_ON
staticfinal DJISDKError DOWNLOAD_FLYSAFE_DATABASE_FAILED_WITH_LDM_ON = new DJISDKError("Download fly safe database failed. Please disable LDM to retry to register " + "\"or check if \"fly-safe-database\" is excluded in build.gradle\".")
Package:
dji.common.error
Description:
Download flysafe database failed. You can close LDM model to retry register App or implementation "FlySafeDataBase-release.aar" in your app build.gradle before compile it.