|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Provides the location information on Fix (Serving cell Latitude, Longitude, Latitude, Longitude, Uncertainty, Fix Time, Assistance Used).
| Field Summary | |
static int |
DEG_MIN
A constant to set the output format of getLongitude() or getLatitude() as "Direction DD MM.MMMM". |
static int |
DEG_MIN_SEC
A constant to set the output format of getLongitude() or getLatitude() as "Direction DD MM SS.SS". |
static int |
DEGREES
A constant to set the output format of getLongitude() or getLatitude() as "Direction DD.DDDDDD". |
static int |
UNAVAILABLE
A constant that indicates position information that is not available. |
| Method Summary | |
boolean |
getAssistanceUsed()
Returns a boolean value indicating whether assistance was used. |
int |
getLatitude()
Returns the latitude of the position in 1/100,000 minutes. |
java.lang.String |
getLatitude(int Format)
Returns the latitude of a the position as a String (degrees and minutes notation) |
int |
getLatLonAccuracy()
Returns the latitude and longitude accuracy in millimeter. |
int |
getLongitude()
Returns the longitude of the position in 1/100,000 minutes. |
java.lang.String |
getLongitude(int Format)
Returns the longitude of the position as a String (degrees and minutes notation) |
int |
getServingCellLatitude()
Returns the serving cell latitude in 1/100,000 minutes. |
java.lang.String |
getServingCellLatitude(int Format)
Returns the serving cell latitude as a String. |
int |
getServingCellLongitude()
Returns the serving cell longitude in 1/100,000 minutes. |
java.lang.String |
getServingCellLongitude(int Format)
Returns the serving cell longitude of the position as a String. |
long |
getTimeStamp()
Returns the time stamp in milliseconds taken during the position fix. |
boolean |
hasAssistanceUsed()
Indicates if the assistance was used. |
boolean |
hasLatLon()
Indicates if the latitude and longitude is available. |
boolean |
hasLatLonAccuracy()
Indicates if the latitude and longitude accuracy is available. |
boolean |
hasServingCellLatLon()
Indicates if the latitude and longitude of the serving cell is available. |
boolean |
hasTimeStamp()
Indicate if the time stamp is available. |
| Field Detail |
public static final int UNAVAILABLE
public static final int DEGREES
DD.DDDDDD". For example, North
26.146131 Degrees is printed as "N 26.146131".
public static final int DEG_MIN
DD MM.MMMM". For example,
North 26 Degrees 8.767840 Minutes is printed as
"N 26 8.767840".
public static final int DEG_MIN_SEC
DD MM SS.SS". For
example, North 26 Degrees 8 Minutes 46.070400 Seconds
is printed as "N 26 8 46.070400".
| Method Detail |
public int getLatitude()
public int getLongitude()
public java.lang.String getLatitude(int Format)
DD.DDDDDD" (Degrees format)
if Format = DEGREES.
(2) The latitude in "Direction DD MM.MMMM"
(Degrees and Minutes format) if Format = DEG_MIN.
(3) The latitude in "Direction DD MM
SS.SS" (Degrees, Minutes and Seconds format) if
Format = DEG_MIN_SEC.
Here, Direction = N or S.
public java.lang.String getLongitude(int Format)
DDD.DDDDDD" (Degrees format)
if Format = DEGREES.
(2) The longitude in "Direction DDD MM.MMMM"
(Degrees and Minutes format) if Format = DEG_MIN.
(3) The longitude in "Direction MM
SS.SS" (Degrees, Minutes and Seconds format)
if Format = DEG_MIN_SEC.
Here, Direction = E or W
public int getLatLonAccuracy()
public int getServingCellLatitude()
public java.lang.String getServingCellLatitude(int Format)
DD.DDDDDD" (Degrees format)
if Format = DEGREES.
(2) The latitude in "Direction DD MM.MMMM"
(Degrees and Minutes format) if Format = DEG_MIN.
(3) The latitude in "Direction DD MM
SS.SS" (Degrees, Minutes and Seconds format) if
Format = DEG_MIN_SEC.
Here, Direction = N or S.
public int getServingCellLongitude()
public java.lang.String getServingCellLongitude(int Format)
DDD.DDDDDD" (Degrees format)
if Format = DEGREES.
(2) The longitude in "Direction DDD MM.MMMM"
(Degrees and Minutes format) if Format = DEG_MIN.
(3) The longitude in "Direction MM
SS.SS" (Degrees, Minutes and Seconds format)
if Format = DEG_MIN_SEC.
Here, Direction = E or W
public long getTimeStamp()
public boolean getAssistanceUsed()
public boolean hasLatLon()
public boolean hasServingCellLatLon()
public boolean hasLatLonAccuracy()
public boolean hasTimeStamp()
public boolean hasAssistanceUsed()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||