VisitStateChange Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains values that describe a Visit-related state change.
public enum class VisitStateChange
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class VisitStateChange
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum VisitStateChange
var value = Windows.Devices.Geolocation.VisitStateChange.trackingLost
Public Enum VisitStateChange
- Inheritance
-
VisitStateChange
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| 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 |
|---|---|---|
| TrackingLost | 0 | The device is unable to track location at this time. |
| Arrived | 1 | The user arrived at a visit. |
| Departed | 2 | The user departed from a visit. |
| OtherMovement | 3 | The user moved significantly since the last visit. |
Remarks
When a state change is logged with the value Arrived, the device remains in that area until either a Departed or TrackingLost change is logged.