Language

JniType.IsInstanceOfType(JniObjectReference) Method

Definition

Tests whether a referenced Java object can be assigned to this type.

public bool IsInstanceOfType(Java.Interop.JniObjectReference value);
member this.IsInstanceOfType : Java.Interop.JniObjectReference -> bool

Parameters

value
JniObjectReference

The nonzero JNI object reference to test. Invalid references are rejected by the generated JNI helper.

Returns

true if the Java object is compatible with this type; 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.

Applies to