GeofenceStateChangeReport 類別

定義

包含 Geofence狀態變更的相關資訊。

public ref class GeofenceStateChangeReport sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GeofenceStateChangeReport final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GeofenceStateChangeReport
Public NotInheritable Class GeofenceStateChangeReport
繼承
Object Platform::Object IInspectable GeofenceStateChangeReport
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
location

備註

使用 GeofenceMonitor.ReadReports 方法來取得 GeofenceStateChangeReport 物件的集合,其中包含地理柵欄狀態變更的相關資訊。

屬性

Geofence

已變更其狀態的 Geofence 物件。

Geoposition

已變更其狀態的 Geofence 物件位置。

NewState

已變更其狀態之 Geofence 物件的新狀態。

RemovalReason

指出 已移除 Geofence 的原因。

適用於

另請參閱