GeofenceState Enum

Definisi

Menunjukkan status Geofence saat ini.

Enumerasi ini mendukung kombinasi bitwise dari nilai yang termasuk di dalamnya.

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
Warisan
GeofenceState
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)
Kemampuan aplikasi
location

Bidang

Entered 1

Perangkat telah memasuki area geofence.

Exited 2

Perangkat telah meninggalkan area geofence.

None 0

Tidak ada bendera yang diatur.

Removed 4

Geofence dihapus.

Berlaku untuk

Lihat juga