diff options
author | Wink Saville <wink@google.com> | 2012-06-11 15:57:03 -0700 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-06-11 15:57:03 -0700 |
commit | bc69f97c663ec37aabf8ac4192752ecba0e00200 (patch) | |
tree | 618726a9af6922b73876f6f53ecf25f178c03b64 /telephony | |
parent | 68ecb32eed09e1c6e834269e8f0c248ccb4097cf (diff) | |
parent | 9a18320ef4c9019807423ea05d350a005e136bcc (diff) | |
download | frameworks_base-bc69f97c663ec37aabf8ac4192752ecba0e00200.zip frameworks_base-bc69f97c663ec37aabf8ac4192752ecba0e00200.tar.gz frameworks_base-bc69f97c663ec37aabf8ac4192752ecba0e00200.tar.bz2 |
Merge "Adds documentation to CdmaCellLocation get lat/long methods"
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/cdma/CdmaCellLocation.java | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/telephony/java/android/telephony/cdma/CdmaCellLocation.java b/telephony/java/android/telephony/cdma/CdmaCellLocation.java index 84db830..b1f400b 100644 --- a/telephony/java/android/telephony/cdma/CdmaCellLocation.java +++ b/telephony/java/android/telephony/cdma/CdmaCellLocation.java @@ -81,14 +81,26 @@ public class CdmaCellLocation extends CellLocation { } /** - * @return cdma base station latitude, Integer.MAX_VALUE if unknown + * Latitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0. + * (http://www.3gpp2.org/public_html/specs/C.S0005-A_v6.0.pdf) + * It is represented in units of 0.25 seconds and ranges from -1296000 + * to 1296000, both values inclusive (corresponding to a range of -90 + * to +90 degrees). Integer.MAX_VALUE is considered invalid value. + * + * @return cdma base station latitude in units of 0.25 seconds, Integer.MAX_VALUE if unknown */ public int getBaseStationLatitude() { return this.mBaseStationLatitude; } /** - * @return cdma base station longitude, Integer.MAX_VALUE if unknown + * Longitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0. + * (http://www.3gpp2.org/public_html/specs/C.S0005-A_v6.0.pdf) + * It is represented in units of 0.25 seconds and ranges from -2592000 + * to 2592000, both values inclusive (corresponding to a range of -180 + * to +180 degrees). Integer.MAX_VALUE is considered invalid value. + * + * @return cdma base station longitude in units of 0.25 seconds, Integer.MAX_VALUE if unknown */ public int getBaseStationLongitude() { return this.mBaseStationLongitude; |