Udostępnij za pośrednictwem


VisitMonitoringScope Enum

Definition

Contains values that describe the intended scope of location monitoring for use with the Visits feature.

public enum class VisitMonitoringScope
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class VisitMonitoringScope
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum VisitMonitoringScope
var value = Windows.Devices.Geolocation.VisitMonitoringScope.venue
Public Enum VisitMonitoringScope
Inheritance
VisitMonitoringScope
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)
App capabilities
location

Fields

Name Value Description
Venue 0

Monitor all Visit-related events that concern changes in building-sized areas.

City 1

Monitor only the Visit-related events that concern changes in city-sized areas.

Remarks

A value must be specified when setting up a GeovisitTrigger or GeovisitMonitor, in order to determine which Visit-related events will be processed.

Applies to

See also

  • <xref:Windows.Devices.Geolocation.GeovisitMonitor%0a%5bGeovisitTrigger%5d(%2fuwp%2fapi%2fwindows.applicationmodel.background.geovisittrigger)%0a%5bGuidelines+for+using+Visits+tracking%5d(%2fwindows%2fuwp%2fmaps-and-location%2fguidelines-for-visits)>