LocationManager.GpsProvider Field

Definition

Standard name of the GNSS location provider.

[Android.Runtime.Register("GPS_PROVIDER")]
public const string GpsProvider;
[<Android.Runtime.Register("GPS_PROVIDER")>]
val mutable GpsProvider : string

Field Value

Attributes

Remarks

Standard name of the GNSS location provider.

If present, this provider determines location using GNSS satellites. The responsiveness and accuracy of location fixes may depend on GNSS signal conditions.

Locations returned from this provider are with respect to the primary GNSS antenna position within the device. #getGnssAntennaInfos() may be used to determine the GNSS antenna position with respect to the Android Coordinate System, and convert between them if necessary. This is generally only necessary for high accuracy applications.

The extras Bundle for locations derived by this location provider may contain the following key/value pairs: <ul> <li> satellites - the number of satellites used to derive the fix </ul>

Java documentation for android.location.LocationManager.GPS_PROVIDER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to