Language

PeerHandle(IntPtr, JniHandleOwnership) Constructor

Definition

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Controls how the incoming JNI reference is released and whether the managed peer is registered.

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