|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PositionChangeType>
com.esri.core.gps.PositionChangeType
public enum PositionChangeType
This enum has a set of flags to indicate the types of position change.
Enum Constant Summary | |
---|---|
ALTITUDE
Geoid or above the sea altitude has changed. |
|
COURSE_OR_SPEED
Course or speed has changed. |
|
FIX_STATUS
The Fix status has changed. |
|
NO_CHANGE
No change. |
|
POSITION
Position has changed. |
|
QUALITY
The quality properties have changed (dilution of position). |
|
SATELLITES
Satellites information has changed. |
Method Summary | |
---|---|
int |
getCode()
|
static boolean[] |
getPositionChangeTypesFromCode(int intCode)
Since there could be more than one type of position change, this returns a boolean array indicating the changes. |
static boolean |
hasPositionChanged(int intCode)
|
static String |
toString(int intCode)
Returns a string representation of the change types. |
static PositionChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PositionChangeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PositionChangeType NO_CHANGE
public static final PositionChangeType POSITION
public static final PositionChangeType ALTITUDE
public static final PositionChangeType COURSE_OR_SPEED
public static final PositionChangeType SATELLITES
public static final PositionChangeType QUALITY
public static final PositionChangeType FIX_STATUS
Method Detail |
---|
public static PositionChangeType[] values()
for (PositionChangeType c : PositionChangeType.values()) System.out.println(c);
public static PositionChangeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getCode()
public static boolean[] getPositionChangeTypesFromCode(int intCode)
intCode
- the code that represents the position change.
NO_CHANGE
, POSITION
, ALTITUDE
, COURSE_OR_SPEED
,
SATELLITES
, QUALITY
, FIX_STATUS
; in that order.public static String toString(int intCode)
intCode
- the code representing the types of position changes.
public static boolean hasPositionChanged(int intCode)
intCode
- the code to test.
POSITION
; false, otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |