Language

JniPeerMembers.JniInstanceMethods.InvokeNonvirtualBooleanMethod Method

Definition

Invokes a Java instance method with nonvirtual JNI dispatch or a configured static redirect.

public bool InvokeNonvirtualBooleanMethod(string encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters);
member this.InvokeNonvirtualBooleanMethod : string * Java.Interop.IJavaPeerable * nativeptr<Java.Interop.JniArgumentValue> -> bool

Parameters

encodedMember
String

The Java method name and JNI descriptor separated by a period, such as run.()V.

self
IJavaPeerable

The managed peer with a valid Java instance reference.

parameters
JniArgumentValue*

The caller-owned JNI argument buffer matching the method descriptor, valid for this call; it can be null when there are no arguments.

Returns

The method result as bool.

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