示例#1
0
 public void SaveLocation(UserLocation location)
 {
     _storage.Set("Ip", location.Ip.Encrypt());
     _storage.Set("Country", location.Country.Encrypt());
     _storage.Set("Isp", location.Isp.Encrypt());
     _storage.Set("Latitude", location.Latitude.ToString(CultureInfo.InvariantCulture).Encrypt());
     _storage.Set("Longitude", location.Longitude.ToString(CultureInfo.InvariantCulture).Encrypt());
 }
示例#2
0
        public Task OnUserLocationChanged(UserLocation location)
        {
            _ = Update();

            return(Task.CompletedTask);
        }