DJI Mobile SDK Documentation

class GPSSignalWidget

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

uilib_image

Small number on top of satellite icon shows the number of satellite available. 5 vertical bars represents the current GPS signal strength. Small 'R' letter shown or hidden indicates weather RTK is enabled or not.

Usage:

Preferred Aspect Ratio: 21:11.

Class Members:
method onGPSSignalStatusChange
@MainThread
@Keep
void onGPSSignalStatusChange(@Nullable GPSSignalLevel status)
Package:dji.ux.widget
Description:

Triggers when GPSSignalLevel changes

Input Parameters:
@Nullable GPSSignalLevel statusstatus of the GPS signal quality. Level0 ~ Level5; Level0 means no signal, Level5 means the best signal quality.
method onRTKEnabled
@MainThread
@Keep
void onRTKEnabled(boolean isRTKEnabled)
Package:dji.ux.widget
Description:

Triggers when RTK is enabled or disabled.

Input Parameters:
boolean isRTKEnabledtrue means the RTK is enabled, false otherwise
method onSatelliteNumberChange
@MainThread
@Keep
void onSatelliteNumberChange(int satelliteNum)
Package:dji.ux.widget
Description:

Triggers when the number of available satellites changes

Input Parameters:
int satelliteNumcurrent number of available satellites