Geolocation.GetLastKnownLocationAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne le dernier emplacement connu de l’appareil.
public static System.Threading.Tasks.Task<Xamarin.Essentials.Location> GetLastKnownLocationAsync ();
Retours
System.Threading.Tasks.Task<Location>
Retourne l’emplacement.
Remarques
Cet emplacement peut être un emplacement mis en cache récemment.