class SDKManagerCallback
interface SDKManagerCallback
Package: dji.v5.manager.interfaces
Description:
SDKManager callback class. Supported since MSDK 5.0.0
Class Members:
method onInitProcess
void onInitProcess (DJISDKInitEvent event, int totalProcess)
Package: dji.v5.manager.interfaces
Description:
The callback method of MSDK initialization progress. Supported since MSDK 5.0.0
method onRegisterSuccess
Package: dji.v5.manager.interfaces
Description:
The callback method after the successful registration of MSDK. Supported since MSDK 5.0.0
method onRegisterFailure
void onRegisterFailure (IDJIError error)
Package: dji.v5.manager.interfaces
Description:
Called when MSDK registration is complete. If an error occurs during registration, an error code object will be returned, and if registration is successful, the error will be null
. Supported since MSDK 5.0.0
method onProductDisconnect
void onProductDisconnect (int productId)
Package: dji.v5.manager.interfaces
Description:
The callback method after the hardware device is disconnected. Supported since MSDK 5.0.0
int productId The product ID of the hardware device. The default is 0.
method onProductConnect
void onProductConnect (int productId)
Package: dji.v5.manager.interfaces
Description:
Callback method after the hardware device is connected. Supported since MSDK 5.0.0
int productId The product ID of the hardware device. The default is 0.
enum DJISDKInitEvent
Package: dji.v5.common.register
Description:
The event type is initialized by MSDK. Supported since MSDK 5.0.0
Enum Members:
START_TO_INITIALIZEMSDK starts to initialize. INITIALIZE_COMPLETEMSDK completes initialization.
Class Members: