Language

JniPeerMembers.JniInstanceMethods.InvokeVirtualVoidMethod Method

Definition

Invokes a void Java instance method using the peer's dispatch policy and configured redirects.

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

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.

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