Android.Locations.Location.Time Property
Return the UTC time of this fix, in milliseconds since January 1, 1970.

Syntax

[get: Android.Runtime.Register("getTime", "()J", "GetGetTimeHandler")]
[set: Android.Runtime.Register("setTime", "(J)V", "GetSetTime_JHandler")]
public virtual long Time { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Return the UTC time of this fix, in milliseconds since January 1, 1970. Note that the UTC time on a device is not monotonic: it can jump forwards or backwards unpredictably. So always use Location.ElapsedRealtimeNanos when calculating time deltas. On the other hand, Location.Time is useful for presenting a human readable time to the user, or for carefully comparing location fixes across reboot or across devices. All locations generated by the Android.Locations.LocationManager are guaranteed to have a valid UTC time, however remember that the system time may have changed since the location was generated.

Set method documentation [Android Documentation]

Set the UTC time of this fix, in milliseconds since January 1, 1970.

Requirements

Namespace: Android.Locations
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1