导出 (0) 打印
全部展开
信息
您所需的主题如下所示。但此主题未包含在此库中。

Windows.Devices.Geolocation Namespace

提供用于获取设备的当前地理位置或跟踪设备位置随时间变化的 API。

位置信息可能因为从信标估计位置而获得,如 Wi-Fi 访问点和蜂窝塔,来自设备的 IP 地址,或者它可以来自其他源,如 GNSS 设备。Windows.Devices.Geolocation API 提供了来自所有可用源的最合适地理位置数据。

成员

Windows.Devices.Geolocation命名空间 具有这些类型的成员:

Windows.Devices.Geolocation命名空间 具有这些类。

说明
CivicAddress Represents the civic address data associated with a geographic location.
Geocircle Describes a geographic circle with a center point and a radius.
Geocoordinate Contains the information for identifying a geographic location.
GeocoordinateSatelliteData Provides additional information about a Geocoordinate. This information is only applicable to position estimates obtained using satellite signals.
Geolocator Provides access to the current geographic location.
Geopoint Describes a geographic point.
Geoposition Represents a location that may contain latitude and longitude data or civic address data.
PositionChangedEventArgs Provides data for the PositionChanged event.
StatusChangedEventArgs Provides information for the StatusChanged event.

 

枚举

Windows.Devices.Geolocation命名空间 具有这些枚举。

Enumeration说明
AltitudeReferenceSystem Indicates the altitude reference system to be used in defining a geographic shape.
GeoshapeType Indicates the geographic shape.
PositionAccuracy Indicates the requested accuracy level for the location data that the application uses.
PositionSource Indicates the source used to obtain a Geocoordinate.
PositionStatus Indicates the ability of the Geolocator object to provide location data.

 

接口

Windows.Devices.Geolocation命名空间 定义这些接口。

接口说明
IGeoshape Interface to define a geographic shape.

 

结构

Windows.Devices.Geolocation命名空间 具有这些结构。

结构说明
BasicGeoposition The basic information to describe a geographic position.

 

要求

最低支持客户端

Windows 8

最低支持服务器

不支持“无”

最低支持电话

Windows Phone 8

命名空间

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

元数据

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

 

 

显示:
© 2014 Microsoft