JniEnvironment.InstanceMethods.CallNonvirtualShortMethod 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.
Overloads
| Name | Description |
|---|---|
| CallNonvirtualShortMethod(JniObjectReference, JniObjectReference, JniMethodInfo, JniArgumentValue*) |
Invokes a Java short-returning method using the specified class implementation without virtual dispatch. |
| CallNonvirtualShortMethod(JniObjectReference, JniObjectReference, JniMethodInfo) |
Invokes a parameterless Java short-returning method using the specified class implementation without virtual dispatch. |
CallNonvirtualShortMethod(JniObjectReference, JniObjectReference, JniMethodInfo, JniArgumentValue*)
Invokes a Java short-returning method using the specified class implementation without virtual dispatch.
public static short CallNonvirtualShortMethod(Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args);
static member CallNonvirtualShortMethod : Java.Interop.JniObjectReference * Java.Interop.JniObjectReference * Java.Interop.JniMethodInfo * nativeptr<Java.Interop.JniArgumentValue> -> int16
Parameters
- instance
- JniObjectReference
A valid reference to the Java object.
- type
- JniObjectReference
A valid reference to the class used to obtain method.
- method
- JniMethodInfo
A valid JNI identifier for a short-returning instance method.
- args
- JniArgumentValue*
A caller-owned JNI argument buffer matching the method descriptor and valid for this call, or a null pointer for 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
CallNonvirtualShortMethod(JniObjectReference, JniObjectReference, JniMethodInfo)
Invokes a parameterless Java short-returning method using the specified class implementation without virtual dispatch.
public static short CallNonvirtualShortMethod(Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method);
static member CallNonvirtualShortMethod : Java.Interop.JniObjectReference * Java.Interop.JniObjectReference * Java.Interop.JniMethodInfo -> int16
Parameters
- instance
- JniObjectReference
A valid reference to the Java object.
- type
- JniObjectReference
A valid reference to the class used to obtain method.
- method
- JniMethodInfo
A valid JNI identifier for a parameterless short-returning instance method.
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.