MSDK is initialized, and the MSDK internal module initialization operation is performed. After the initialization is completed, registerApp needs to be called to perform the MSDK registration operation.
MSDK registration, MSDK connects to the DJI server through the Internet to verify the App KEY applied by the developer on the official website. This method needs to be called after the INITIALIZE_COMPLETE event is returned in the onInitProcess method. Whether the registration is successful or the registration fails, it will be returned in SDKManagerCallback. After successful registration, MSDK will automatically start to connect to the hardware product. If the hardware product connection is successful, the onProductConnect method will be called back. Notice: 1. If the developer uses the offline license file method to open LDM before init, the registration operation can be completed without connecting to the Internet. 2. If you use the method of downloading the license file from the Internet to enable LDM, you need to pass in MSDK_INIT_AND_REGISTRATION to enableLDM, in order to connect to the DJI server through the Internet to verify the App KEY and complete the registration process. 3. After MSDK is successfully registered, the registration information will be cached locally. When MSDK is started again, MSDK will verify the locally cached information to complete the registration process without connecting to the Internet. It is not necessary to perform online registration again until the application is reinstalled to complete the registration process.