Freigeben über


WifiManager.RemoveNonCallerConfiguredNetworks Method

Definition

Remove all configured networks that were not created by the calling app.

[Android.Runtime.Register("removeNonCallerConfiguredNetworks", "()Z", "GetRemoveNonCallerConfiguredNetworksHandler", ApiSince=31)]
[Android.Runtime.RequiresPermission("android.permission.CHANGE_WIFI_STATE")]
public virtual bool RemoveNonCallerConfiguredNetworks ();
[<Android.Runtime.Register("removeNonCallerConfiguredNetworks", "()Z", "GetRemoveNonCallerConfiguredNetworksHandler", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("android.permission.CHANGE_WIFI_STATE")>]
abstract member RemoveNonCallerConfiguredNetworks : unit -> bool
override this.RemoveNonCallerConfiguredNetworks : unit -> bool

Returns

true if at least one network is removed, false otherwise

Attributes

Remarks

Remove all configured networks that were not created by the calling app. Can only be called by a Device Owner (DO) app.

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

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