Partager via


Location.GetElapsedRealtimeAgeMillis(Int64) Method

Definition

A convenience method that returns the age of this location with respect to the given reference elapsed realtime.

[Android.Runtime.Register("getElapsedRealtimeAgeMillis", "(J)J", "GetGetElapsedRealtimeAgeMillis_JHandler", ApiSince=33)]
public virtual long GetElapsedRealtimeAgeMillis (long referenceRealtimeMs);
[<Android.Runtime.Register("getElapsedRealtimeAgeMillis", "(J)J", "GetGetElapsedRealtimeAgeMillis_JHandler", ApiSince=33)>]
abstract member GetElapsedRealtimeAgeMillis : int64 -> int64
override this.GetElapsedRealtimeAgeMillis : int64 -> int64

Parameters

referenceRealtimeMs
Int64

reference realtime in milliseconds

Returns

age of this location in milliseconds

Attributes

Remarks

A convenience method that returns the age of this location with respect to the given reference elapsed realtime.

Java documentation for android.location.Location.getElapsedRealtimeAgeMillis(long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to