VisitStateChange VisitStateChange VisitStateChange VisitStateChange VisitStateChange Enum

Definition

Contains values that describe a Visit-related state change.

public : enum class VisitStateChange
enum class winrt::Windows::Devices::Geolocation::VisitStateChange : int32_t
public enum VisitStateChange
Public Enum VisitStateChange
var value = Windows.Devices.Geolocation.VisitStateChange.arrived;
Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)
Capabilities
location

Fields

Arrived Arrived Arrived Arrived Arrived 1

The user arrived at a Visit.

Departed Departed Departed Departed Departed 2

The user departed from a Visit.

OtherMovement OtherMovement OtherMovement OtherMovement OtherMovement 3

The user moved significantly since the last Visit.

TrackingLost TrackingLost TrackingLost TrackingLost TrackingLost 0

The device is unable to track location at this time.

Remarks

When a state change is logged with the value Arrived, developers can assume that the device remains in that area until either a Departed or TrackingLost change is logged.

See also

  • Windows.Devices.Geolocation.Geovisit [Guidelines for using Visits tracking](https://docs.microsoft.com/windows/uwp/maps-and-location/guidelines-for-visits)