共用方式為


WifiManager.RemoveNetwork(Int32) Method

Definition

Remove the specified network from the list of configured networks.

[Android.Runtime.Register("removeNetwork", "(I)Z", "GetRemoveNetwork_IHandler")]
public virtual bool RemoveNetwork (int netId);
[<Android.Runtime.Register("removeNetwork", "(I)Z", "GetRemoveNetwork_IHandler")>]
abstract member RemoveNetwork : int -> bool
override this.RemoveNetwork : int -> bool

Parameters

netId
Int32

the integer that identifies the network configuration to the supplicant

Returns

Attributes

Remarks

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