LocationTriggerType Enum

Definition

Indicates a type of location event for a location background task trigger.

public enum class LocationTriggerType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum LocationTriggerType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum LocationTriggerType
var value = Windows.ApplicationModel.Background.LocationTriggerType.geofence
Public Enum LocationTriggerType
Inheritance
LocationTriggerType
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Geofence 0

Indicates a geofence location trigger.

Remarks

Only one trigger for geofencing can be registered per app. This trigger will be executed for all geofences registered by the app.

Applies to