YandexMetrica.Location class

Attention. We discontinued the development of new versions of the AppMetrica Windows SDK.

yandex.metrica

public class YandexMetrica.Location

This class contains information about the device location.

Properties

double Lat

Sets/returns the longitude.

double Lon

Sets/returns the latitude.

ulong Timestamp

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

uint Precision

Sets/returns the accuracy of location detection.

uint Direction

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

uint Speed

Sets/returns the speed in meters per second.

int Altitude

Sets/returns altitude in meters.

double Lat

Sets/returns the longitude.

double Lon

Sets/returns the latitude.

ulong Timestamp

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

uint Precision

Sets/returns the accuracy of location detection.

uint Direction

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

uint Speed

Sets/returns the speed in meters per second.

int Altitude

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.