共用方式為


WifiP2pDevice Constructors

Definition

Overloads

WifiP2pDevice()
WifiP2pDevice(WifiP2pDevice)

copy constructor

WifiP2pDevice(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

WifiP2pDevice()

[Android.Runtime.Register(".ctor", "()V", "")]
public WifiP2pDevice ();
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

WifiP2pDevice(WifiP2pDevice)

copy constructor

[Android.Runtime.Register(".ctor", "(Landroid/net/wifi/p2p/WifiP2pDevice;)V", "")]
public WifiP2pDevice (Android.Net.Wifi.P2p.WifiP2pDevice? source);
[<Android.Runtime.Register(".ctor", "(Landroid/net/wifi/p2p/WifiP2pDevice;)V", "")>]
new Android.Net.Wifi.P2p.WifiP2pDevice : Android.Net.Wifi.P2p.WifiP2pDevice -> Android.Net.Wifi.P2p.WifiP2pDevice

Parameters

source
WifiP2pDevice
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

WifiP2pDevice(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected WifiP2pDevice (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Wifi.P2p.WifiP2pDevice : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Wifi.P2p.WifiP2pDevice

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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