ILocationReport 接口 (locationapi.h)

[Win32 位置 API 可用于“要求”部分中指定的操作系统。 它可能在后续版本中变更或不可用。 请改用 Windows.Devices.Geolocation API。 ]

位置报告的父接口。

继承

ILocationReport 接口继承自 IUnknown 接口。 ILocationReport 还具有以下类型的成员:

方法

ILocationReport 接口包含以下方法。

 
ILocationReport::GetSensorID

检索生成位置报告的传感器的 ID。
ILocationReport::GetTimestamp

检索生成报表的日期和时间。
ILocationReport::GetValue

从位置报表中检索属性值。

要求

   
最低受支持的客户端 Windows 7 [仅限桌面应用]
最低受支持的服务器 无受支持的版本
目标平台 Windows
标头 locationapi.h