GeofenceStateChangeReport クラス

定義

ジオフェンスの状態の変更に関する情報を格納します。

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 メソッドを使用して、geofence に対する状態の変更に関する情報を含む GeofenceStateChangeReport オブジェクトのコレクションを取得します。

プロパティ

Geofence

状態が変更された Geofence オブジェクト。

Geoposition

状態が変更された Geofence オブジェクトの位置。

NewState

状態が変更された Geofence オブジェクトの新しい状態。

RemovalReason

ジオフェンスが削除された理由を示します。

適用対象

こちらもご覧ください