Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc69f97c authored by Wink Saville's avatar Wink Saville Committed by android code review
Browse files

Merge "Adds documentation to CdmaCellLocation get lat/long methods"

parents 68ecb32e 9a18320e
Loading
Loading
Loading
Loading
+14 −2
Original line number Diff line number Diff line
@@ -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;