Language

JniSurfacedPeerInfo(Int32, WeakReference<IJavaPeerable>) Constructor

Definition

Creates peer information from an identity hash code and an existing weak reference.

public JniSurfacedPeerInfo(int jniIdentityHashCode, WeakReference<Java.Interop.IJavaPeerable> surfacedPeer);
new Java.Interop.JniSurfacedPeerInfo : int * WeakReference<Java.Interop.IJavaPeerable> -> Java.Interop.JniSurfacedPeerInfo

Parameters

jniIdentityHashCode
Int32

The Java identity hash code to store.

surfacedPeer
WeakReference<IJavaPeerable>

The weak reference to the managed peer. The supplied weak reference is stored without creating another one.

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