EN
此内容没有您的语言版本,但有英语版本。

Geofence.MonitoredStates | monitoredStates property

Applies to Windows and Windows Phone

Indicates the states that the Geofence is being monitored for.

Syntax


var monitoredStates = geofence.monitoredStates;

Property value

Type: MonitoredGeofenceStates

The states that the geofence is being monitored for.

Remarks

You must specify the Entered or Exited states, or both, for a geofence to be monitored. It is not possible to create a geofence that only monitors the Removed state.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Geolocation.Geofencing
Windows::Devices::Geolocation::Geofencing [C++]

Metadata

Windows.winmd

See also

Geofence

 

 

显示:
© 2015 Microsoft