GeofenceState 列舉

定義

表示 Geofence的目前狀態。

此列舉支援其成員值的位元組合。

public enum class GeofenceState
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class GeofenceState
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum GeofenceState
var value = Windows.Devices.Geolocation.Geofencing.GeofenceState.none
Public Enum GeofenceState
繼承
GeofenceState
屬性

Windows 需求

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

欄位

Entered 1

裝置已進入地理柵欄區域。

Exited 2

裝置已離開地理柵欄區域。

None 0

未設定旗標。

Removed 4

地理柵欄已移除。

適用於

另請參閱