Geovisit Geovisit Geovisit Geovisit Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

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

public : sealed class Geovisit : IGeovisitpublic sealed class Geovisit : IGeovisitPublic NotInheritable Class Geovisit Implements IGeovisit// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Remarks

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

Properties

Position Position Position Position

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

public : Geoposition Position { get; }public Geoposition Position { get; }Public ReadOnly Property Position As Geoposition// You can use this property in JavaScript.
Value
Geoposition Geoposition Geoposition Geoposition

The location of the Visit-related state change.

StateChange StateChange StateChange StateChange

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

public : VisitStateChange StateChange { get; }public VisitStateChange StateChange { get; }Public ReadOnly Property StateChange As VisitStateChange// You can use this property in JavaScript.

Timestamp Timestamp Timestamp Timestamp

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

public : DateTime Timestamp { get; }public DateTimeOffset Timestamp { get; }Public ReadOnly Property Timestamp As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

A DateTime instance representing the time the state change happened.