JniRuntime.JniValueManager.PeekPeer(JniObjectReference) Method
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.
Looks up an existing managed peer without creating one.
public abstract Java.Interop.IJavaPeerable? PeekPeer(Java.Interop.JniObjectReference reference);
abstract member PeekPeer : Java.Interop.JniObjectReference -> Java.Interop.IJavaPeerable
Parameters
- reference
- JniObjectReference
The Java reference whose current mapping is inspected.
Returns
The mapped managed peer, or null when no peer is available.
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.