Dela via


Geovisit Class

Definition

Represents a Visit-related state change. See Guidelines for using Visits tracking for information on how to use this feature.

public ref class Geovisit sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class Geovisit final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class Geovisit
Public NotInheritable Class Geovisit
Inheritance
Object Platform::Object IInspectable Geovisit
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

Remarks

This class is instantiated whenever a Visit-related state change has been obtained by the app.

Properties

Position

Gets the location where this Visit-related state change took place.

StateChange

Gets the type of state change that this Geovisit instance represents.

Timestamp

Gets the time that this Visit-related state change happened.

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)>