JniRuntime.JniValueManager.TryUnboxPeerObject(IJavaPeerable, Object) 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.
Unwraps the built-in managed-object and exception proxy types.
protected virtual bool TryUnboxPeerObject(Java.Interop.IJavaPeerable value, out object? result);
abstract member TryUnboxPeerObject : Java.Interop.IJavaPeerable * obj -> bool
override this.TryUnboxPeerObject : Java.Interop.IJavaPeerable * obj -> bool
Parameters
- value
- IJavaPeerable
The mapped peer to inspect for a managed proxy.
- result
- Object
The wrapped managed object or exception on success; otherwise, null.
Returns
true when a supported proxy was recognized; otherwise, false.
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.