Share via


Geolocation.GetLastKnownLocationAsync Method

Definition

Returns the last known location of the device.

public static System.Threading.Tasks.Task<Xamarin.Essentials.Location> GetLastKnownLocationAsync ();

Returns

System.Threading.Tasks.Task<Location>

Returns the location.

Remarks

This location may be a recently cached location.

Applies to