Preface
This chapter is about android. location. gpsSatellite, for GPS related chapter, version for Android 3.2 r1, translated from "pandatv 82", welcome to visit his blog: "http://wisekingokok.cnblogs.com", thanks again "pandatv 82 "! Welcome to join in Android Chinese translation, contact me over140@gmail.com.
Statement
You are welcome to repost, but please keep the original source of the article :)
Blog Garden: http://www.cnblogs.com/
Android Chinese translation group: http://goo.gl/6vJQl
GpsSatellite
Translator's signature: pandatv 82
Link: http://wisekingokok.cnblogs.com
Version: Android 3.2 r1
Structure
Inheritance relationship
Public final class GpsSatellite extends Object
Java. lang. Object
Android. location. GpsSatellite
Class Overview
This class is used to describe the current GPS satellite status. And GpsStatus.
Common Methods
Public floatGetAzimuth()
Returns the azimuth angle of the satellite. The azimuth angle ranges from 0 to 360 degrees.
Return Value
Azimuth Angle of a satellite
Public floatGetElevation()
Returns the height angle of a satellite. The height angle ranges from 0 to 90 degrees.
Return Value
Satellite height Angle
Public intGetPrn()
Returns a pseudo-random noise code,
(Note: A pseudo-Noise code, not a satellite number, is a discrete sign string with values 0 and 1 for a certain period. It has a self-correlation function similar to white noise)
Return Value
Pseudo-Random Noise Code
Public floatGetSnr()
Returns the signal-to-noise ratio of a satellite.
(Note: the ratio of the output signal voltage of the amplifier to the noise voltage of the simultaneous output is often expressed in decibels. The higher the signal-to-noise ratio of a device, the less noise it generates. Generally, the higher the signal-to-noise ratio, the smaller the noise in the mixed signal, the higher the sound quality of the sound playback; otherwise, the opposite is true)
Return Value
Satellite signal-to-noise ratio
Public booleanHasAlmanac()
Returns true if the GPS engine has an approximate track information.
Return Value
Returns true if the GPS engine has an approximate track information.
Public booleanHasEphemeris()
Returns true if the GPS engine has a satellite calendar.
(Translator's note: The expression used by satellite calendars to describe the location and speed of a space flight)
Return Value
Returns true if the GPS engine has a satellite calendar.
Public booleanUseInfix()
Returns true if the satellite is used by the GPS engine to calculate the nearest position.
Return Value
Returns true if the satellite is used by the GPS engine to calculate the nearest position.
Supplement
Article Selection
[Baidu encyclopedia] GPS
[Baidu encyclopedia] GPS Positioning Technology