Share via


WifiManager.AddNetworkResult.NetworkId Property

Definition

The identifier of the added network, which could be used in other operations.

[Android.Runtime.Register("networkId", ApiSince=31)]
public int NetworkId { get; set; }
[<Android.Runtime.Register("networkId", ApiSince=31)>]
member this.NetworkId : int with get, set

Property Value

Attributes

Remarks

The identifier of the added network, which could be used in other operations. This field will be set to -1 if the operation failed.

Java documentation for android.net.wifi.WifiManager.AddNetworkResult.networkId.

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