다음을 통해 공유


WifiP2pConfig.NetworkId Property

Definition

Get the network ID of this P2P configuration.

public virtual int NetworkId { [Android.Runtime.Register("getNetworkId", "()I", "GetGetNetworkIdHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getNetworkId", "()I", "GetGetNetworkIdHandler", ApiSince=30)>]
member this.NetworkId : int

Property Value

either a non-negative network ID, or one of WifiP2pGroup#NETWORK_ID_PERSISTENT or WifiP2pGroup#NETWORK_ID_TEMPORARY.

Attributes

Remarks

Get the network ID of this P2P configuration.

Java documentation for android.net.wifi.p2p.WifiP2pConfig.getNetworkId().

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