Freigeben über


WifiManager.SaveConfiguration Method

Definition

Tell the device to persist the current list of configured networks.

[Android.Runtime.Register("saveConfiguration", "()Z", "GetSaveConfigurationHandler")]
public virtual bool SaveConfiguration ();
[<Android.Runtime.Register("saveConfiguration", "()Z", "GetSaveConfigurationHandler")>]
abstract member SaveConfiguration : unit -> bool
override this.SaveConfiguration : unit -> bool

Returns

false.

Attributes

Remarks

Tell the device to persist the current list of configured networks.

Note: It is possible for this method to change the network IDs of existing networks. You should assume the network IDs can be different after calling this method.

This member is deprecated. There is no need to call this method - #addNetwork(WifiConfiguration), #updateNetwork(WifiConfiguration) and #removeNetwork(int) already persist the configurations automatically.

Java documentation for android.net.wifi.WifiManager.saveConfiguration().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to