GeofenceRemovalReason 枚举

定义

指示删除 地理围栏 的原因。

public enum class GeofenceRemovalReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class GeofenceRemovalReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum GeofenceRemovalReason
var value = Windows.Devices.Geolocation.Geofencing.GeofenceRemovalReason.used
Public Enum GeofenceRemovalReason
继承
GeofenceRemovalReason
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
location

字段

Expired 1

地理围栏的持续时间已过期。

Used 0

已触发地理围栏事件并使用地理围栏。

适用于

另请参阅