GeolocationPosition Class

A position of the device and the time at which it was acquired (https://w3c.github.io/geolocation/#position_interface).

public sealed class GeolocationPosition

Properties

NameDescription
CoordsGets the coordinates of the position.
TimestampGets the time at which the position was requested, in milliseconds since the Unix epoch.

Gets the coordinates of the position.

public GeolocationCoordinates Coords { get; }

Gets the time at which the position was requested, in milliseconds since the Unix epoch.

public ulong Timestamp { get; }