public Task <int> DeleteParticularWifiParameters(WifiParameters wifiParameters) { return(database.DeleteAsync(wifiParameters)); }
public Task <int> SaveWifiParametersAsync(WifiParameters wifiParameters) { return(database.InsertAsync(wifiParameters)); }
public Task <int> UpdateWifiParametersAsync(WifiParameters wifiParameters) { return(database.UpdateAsync(wifiParameters)); }
public override void OnReceive(Context context, Intent intent) { IList <ScanResult> scanWifiNetworks = wifiManager.ScanResults; foreach (ScanResult wifiNetwork in scanWifiNetworks) { if (wifiNetwork.Ssid == "") { wifiNetwork.Ssid = "Unknown SSID"; } ListOfWifiNetworks.Add(new WifiParameters() { SSID = wifiNetwork.Ssid, BSSID = wifiNetwork.Bssid, Frequency = wifiNetwork.Frequency, Level = wifiNetwork.Level, Channel = WifiParameters.GetChannel(wifiNetwork.Frequency), Latitude = Latitude, Longitude = Longitude }); } CollectionofNetworksArrived.Set(); }