JniSurfacedPeerInfo(Int32, WeakReference<IJavaPeerable>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.