Language

JniPeerMembers.JniInstanceMethods.InvokeVirtualInt16Method Method

Definition

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

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

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 short.

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