DJI Mobile SDK Documentation

class CompassCalibratingWorkFlow

class CompassCalibratingWorkFlow extends SimpleFrameLayoutWidget
Package:dji.ux.workflow
Inherits From:SimpleFrameLayoutWidget
Display:

The progress of compas calibration.

Interaction:

Depends on the step, there will be buttons at the bottom of the dialog for the user to interact. The user can either quit out of or continue with the process.

Usage:

To step the user through the compass calibration process

Class Members:
method startCalibration
static void startCalibration(final ActionCallback callback)
Package:dji.ux.workflow
Description:

Call this to send the start calibration command to the aircraft. As soon as the aircraft sends back the progress data, a dialog will show up to guide the user through the process.

Input Parameters:
final ActionCallback callbackActionCallback.
method stopCalibration
static void stopCalibration(final ActionCallback callback)
Package:dji.ux.workflow
Description:

Call this to send the stop calibration command to the aircraft.

Input Parameters:
final ActionCallback callbackActionCallback.