YandexMetrica.Location class

yandex.metrica

public class YandexMetrica.Location

This class contains information about the device location.

Properties

doubleLat

Sets/returns the longitude.

doubleLon

Sets/returns the latitude.

ulongTimestamp

Sets/returns the time in milliseconds from January 1, 1970.

uintPrecision

Sets/returns the accuracy of location detection.

uintDirection

Sets/returns the direction in degrees relative to the North in a clockwise direction.

uintSpeed

Sets/returns the speed in meters per second.

intAltitude

Sets/returns altitude in meters.

Property descriptions

Lat

public double Lat { get; set; }

Sets/returns the longitude.

Lon

public double Lon { get; set; }

Sets/returns the latitude.

Timestamp

public ulong Timestamp { get; set; }

Sets/returns the time in milliseconds from January 1, 1970.

Precision

public uint Precision { get; set; }

Sets/returns the accuracy of location detection.

Direction

public uint Direction { get; set; }

Sets/returns the direction in degrees relative to the North in a clockwise direction.

Speed

public uint Speed { get; set; }

Sets/returns the speed in meters per second.

Altitude

public int Altitude { get; set; }

Sets/returns altitude in meters.