Compartilhar via


Android.Locations Namespace

Contains the framework API classes that define Android location-based and related services.

Classes

Address

A class representing an Address, that is, a set of Strings describing a location.

Address.InterfaceConsts
Criteria

A class indicating the application criteria for selecting a location provider.

Criteria.InterfaceConsts
FlushCompleteEventArgs
Geocoder

A class for handling geocoding and reverse geocoding.

Geocoder.ErrorEventArgs
Geocoder.GeocodeEventArgs
GnssAntennaInfo

A class that contains information about a GNSS antenna.

GnssAntennaInfo.Builder

Builder class for GnssAntennaInfo.

GnssAntennaInfo.EventArgs
GnssAntennaInfo.InterfaceConsts
GnssAntennaInfo.PhaseCenterOffset

Class containing information about the antenna phase center offset (PCO).

GnssAntennaInfo.PhaseCenterOffset.InterfaceConsts
GnssAntennaInfo.SphericalCorrections

Represents corrections on a spherical mapping.

GnssAntennaInfo.SphericalCorrections.InterfaceConsts
GnssAutomaticGainControl

A class that contains GNSS Automatic Gain Control (AGC) information.

GnssAutomaticGainControl.Builder

Builder for GnssAutomaticGainControl

GnssAutomaticGainControl.InterfaceConsts
GnssCapabilities

GNSS chipset capabilities.

GnssCapabilities.Builder

Builder for GnssCapabilities.

GnssCapabilities.InterfaceConsts
GnssClock

A class containing a GNSS clock timestamp.

GnssClock.InterfaceConsts
GnssMeasurement

A class representing a GNSS satellite measurement, containing raw and computed information.

GnssMeasurement.InterfaceConsts
GnssMeasurementRequest

This class contains extra parameters to pass in a GNSS measurement request.

GnssMeasurementRequest.Builder

Builder for GnssMeasurementRequest

GnssMeasurementRequest.InterfaceConsts
GnssMeasurementsEvent

A class implementing a container for data associated with a measurement event.

GnssMeasurementsEvent.Builder

Builder for GnssMeasurementsEvent

GnssMeasurementsEvent.Callback

Used for receiving GNSS satellite measurements from the GNSS engine.

GnssMeasurementsEvent.InterfaceConsts
GnssNavigationMessage

A class containing a GNSS satellite Navigation Message.

GnssNavigationMessage.Callback

Used for receiving GNSS satellite Navigation Messages from the GNSS engine.

GnssNavigationMessage.InterfaceConsts
GnssSignalType

This class represents a GNSS signal type.

GnssSignalType.InterfaceConsts
GnssStatus

This class represents the current state of the GNSS engine and is used in conjunction with GnssStatus.Callback.

GnssStatus.Builder

Builder class to help create new GnssStatus instances.

GnssStatus.Callback

Used for receiving notifications when GNSS events happen.

GnssStatus.InterfaceConsts
GpsSatellite

This class represents the current state of a GPS satellite.

GpsStatus

This class represents the current state of the GPS engine and is used in conjunction with GpsStatus.Listener.

GpsStatus.EventArgs
GpsStatus.NmeaEventArgs
Location

A data class representing a geographic location.

Location.InterfaceConsts
LocationChangedEventArgs
LocationManager

This class provides access to the system location services.

LocationProvider

Information about the properties of a location provider.

LocationRequest

An encapsulation of various parameters for requesting location via LocationManager.

LocationRequest.Builder

A builder class for LocationRequest.

LocationRequest.InterfaceConsts
NmeaMessageEventArgs
ProviderDisabledEventArgs
ProviderEnabledEventArgs
SettingInjectorService

Dynamically specifies the summary (subtitle) and enabled status of a preference injected into the list of app settings displayed by the system settings app <p/> For use only by apps that are included in the system image, for preferences that affect multiple apps.

StatusChangedEventArgs

Interfaces

Geocoder.IGeocodeListener

A listener for asynchronous geocoding results.

GnssAntennaInfo.IListener

Used for receiving GNSS antenna info from the GNSS engine.

GpsStatus.IListener

Used for receiving notifications when GPS status has changed.

GpsStatus.INmeaListener

Used for receiving NMEA sentences from the GPS.

ILocationListener

Used for receiving notifications when the device location has changed.

IOnNmeaMessageListener

Used for receiving NMEA sentences from the GNSS.

Enums

AccumulatedDeltaRangeState
Accuracy

Enumerates values returned by several types.

Availability

Enumerates values returned by several types and taken as a parameter of several types.

Format

Enumerates values returned by the Degrees, Minutes, and Seconds members and taken as a parameter of the F:Android.Locations.Location.Convert member.

GnssCapability
GnssConstellationType
GnssMeasurementCallbackStatus
GnssNavigationCallbackStatus
GnssNavigationStatus
GnssNavigationType
GnssState
GpsEvent

Enumerates values returned by several types and taken as a parameter of the F:Android.Locations.GpsStatus+EventArgs..ctor, and F:Android.Locations.GpsStatus+IListener.OnGpsStatusChanged members.

LocationRequestQuality
MultipathIndicator
Power

Enumerates values returned by several types and taken as a parameter of the F:Android.Locations.LocationManager.AddTestProvider member.