DJI Mobile SDK Documentation

class FlightModeWidget

class FlightModeWidget extends FrameLayoutWidget
Package:dji.ux.widget
Inherits From:FrameLayoutWidget
Display:

uilib_image

The current flight mode of the aircraft. It uses the same language as DJIGo.

Usage:

Preferred Aspect Ratio: 103:22.

Class Members:
method onFlyControllerModeChange
@MainThread
@Keep
void onFlyControllerModeChange(@Nullable String flightMode)
Package:dji.ux.widget
Description:

Triggers when flight controller's flight mode changes

Input Parameters:
@Nullable String flightModeCurrent flight controller flight mode