System.Device.Location Namespace

May 11, 2014

This namespace provides access to the Windows Phone Location Service APIs enabling the development of location-aware applications.

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_NETWORKING

Windows Phone 8, Windows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone 8.

  ClassDescription
Public classCivicAddressRepresents a location expressed as a civic address.
Public classCivicAddressResolverAttempts to obtain the civic address for a provided geographical coordinate.
Public classGeoCoordinateRepresents a location expressed as a geographic coordinate. The values exposed by this class use the WGS 84 standard.
Public classGeoCoordinateWatcherA provider class exposing the Windows Phone location service.
Public classGeoPosition<T>Represents a geographic position consisting of a location and a time stamp.
Public classGeoPositionChangedEventArgs<T>Provides data for PositionChanged events.
Public classGeoPositionStatusChangedEventArgsProvides data for StatusChanged events.
Public classResolveAddressCompletedEventArgsProvides data for ResolveAddressCompleted events.

  InterfaceDescription
Public interfaceICivicAddressResolverDefines the interface for resolving civic addresses. Implemented by CivicAddressResolver.
Public interfaceIGeoPositionWatcher<T>Defines the interface for resolving geographic positions. Implemented by the GeoCoordinateWatcher class.

  EnumerationDescription
Public enumerationGeoPositionAccuracyDefines the levels of accuracy that can be configured for the location service by using the GeoCoordinateWatcher constructor.
Public enumerationGeoPositionPermissionDefines the level of access an application has to the location service. Used by the Permission property.
Public enumerationGeoPositionStatusDefines the status values for the location service. Used by the Status property.

Show:
© 2014 Microsoft