Beispiel #1
0
        private void GetLastLocation()
        {
            Task lastLocation = fusedLocationProviderClient.LastLocation;

            lastLocation.AddOnSuccessListener(new LastLocationSuccess(this)).AddOnFailureListener(new LastLocationFailure(this));
        }
Beispiel #2
0
 private void GetAAID()
 {
     Huawei.Hmf.Tasks.Task getAAID = instance.AAID;
     getAAID.AddOnSuccessListener(new GetAAIDSuccessListener()).AddOnFailureListener(new GetAAIDFailureListener());
 }