public final class MapbarGpsSatellite
extends java.lang.Object
GpsSatellite
一致,主要为了支持不能通过标准android接口获取定位信息的设备构造器和说明 |
---|
MapbarGpsSatellite(boolean mHasEphemeris,
boolean mHasAlmanac,
boolean mUsedInFix,
int mPrn,
float mSnr,
float mElevation,
float mAzimuth) |
MapbarGpsSatellite(android.location.GpsSatellite satellite) |
MapbarGpsSatellite(int mPrn,
float mSnr,
float mElevation,
float mAzimuth) |
限定符和类型 | 方法和说明 |
---|---|
float |
getAzimuth()
Returns the azimuth of the satellite in degrees.
|
float |
getElevation()
Returns the elevation of the satellite in degrees.
|
int |
getPrn()
Returns the PRN (pseudo-random number) for the satellite.
|
float |
getSnr()
Returns the signal to noise ratio for the satellite.
|
boolean |
hasAlmanac()
Returns true if the GPS engine has almanac data for the satellite.
|
boolean |
hasEphemeris()
Returns true if the GPS engine has ephemeris data for the satellite.
|
java.lang.String |
toString() |
boolean |
usedInFix()
Returns true if the satellite was used by the GPS engine when calculating
the most recent GPS fix.
|
public MapbarGpsSatellite(android.location.GpsSatellite satellite)
public MapbarGpsSatellite(boolean mHasEphemeris, boolean mHasAlmanac, boolean mUsedInFix, int mPrn, float mSnr, float mElevation, float mAzimuth)
public MapbarGpsSatellite(int mPrn, float mSnr, float mElevation, float mAzimuth)
public int getPrn()
public float getSnr()
public float getElevation()
public float getAzimuth()
public boolean hasEphemeris()
public boolean hasAlmanac()
public boolean usedInFix()
public java.lang.String toString()
toString
在类中 java.lang.Object
©Mapbar Engine Team;All Rights Reserved