java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.flightcontroller.DJIGPSSignalStatus |
A enum class representing GPS signal levels, which are used to measure the signal quality.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIGPSSignalStatus | Level0 | The GPS has almost no signal, which is very bad. | |||||||||
DJIGPSSignalStatus | Level1 | The GPS signal is very weak. | |||||||||
DJIGPSSignalStatus | Level2 | The GPS signal is weak. | |||||||||
DJIGPSSignalStatus | Level3 | The GPS signal is good. | |||||||||
DJIGPSSignalStatus | Level4 | The GPS signal is very good. | |||||||||
DJIGPSSignalStatus | Level5 | The GPS signal is very strong. | |||||||||
DJIGPSSignalStatus | None | There is no GPS signal. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
_equals(int b)
Returns the boolean result which compare the input integer
value with the real value of an enum constant.
| ||||||||||
static DJIGPSSignalStatus |
find(int b)
Returns the enum constant of this type with the input integer value.
| ||||||||||
int |
value()
Returns the real value of an enum constant.
| ||||||||||
static DJIGPSSignalStatus | valueOf(String name) | ||||||||||
final static DJIGPSSignalStatus[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The GPS signal is weak. At this level, the aircraft's go home functionality will still work.
The GPS signal is good. At this level, the aircraft can hover in the air.
The GPS signal is very good. At this level, the aircraft can record the home point.
Returns the boolean result which compare the input integer value with the real value of an enum constant.
b | The input integer value. |
---|
Returns the enum constant of this type with the input integer value.
b | The input integer value. |
---|
Returns the real value of an enum constant.