CallStaticMethodV
Prototype
<NativeType> CallStatic<Type>MethodV( JNIEnv *env, jclass clazz, jmethodID methodID, va_1ist args);
Forms
This family of functions consists of ten members.
This family of functions consists of ten members.
|
CallStatic<Type>MethodV |
<NativeType> |
|
CallStaticVoidMethodV |
void |
|
CallStaticObjectMethodV |
jobject |
|
CallStaticBooleanMethodV |
jboolean |
|
CallStaticByteMethodV |
jbyte |
|
CallStaticCharMethodV |
jchar |
|
CallStaticShortMethodV |
jshort |
|
CallStaticIntMethodV |
jint |
|
CallStaticLongMethodV |
jlong |
|
CallStaticFloatMethodV |
jfloat |
|
CallStaticDoubleMethodV |
jdouble |
Description Invokes a static method, specified using a method ID, on a class. The method must be accessible in clazz, although it may be defined in one of the superclasses of clazz.
Programmers should place all arguments to the method in an args argument of type va_1ist that immediately follows the methodID argument. The CallStatic<Type>MethodV routine accepts the arguments, and, in turn, passes them to the static method that the programmer wishes to invoke.
|
CallStatic<Type>MethodV |
Index |
|
CallStaticVoidMethodV |
142 |
|
CallStaticObjectMethodV |
115 |
|
CallStaticBooleanMethodV |
118 |
|
CallStaticByteMethodV |
121 |
|
CallStaticCharMethodV |
124 |
|
CallStaticShortMethodV |
127 |
|
CallStaticIntMethodV |
130 |
|
CallStaticLongMethodV |
133 |
|
CallStaticFloatMethodV |
136 |
|
CallStaticDoubleMethodV |
139 |
Parameters env: the JNIEnv interface pointer.
clazz: a reference to the class object on which the static method is called.
methodID: the static method ID of the method to be called. args: a va_list of arguments to be passed to the static method.
Return Values Returns the result of calling the static method.
Exceptions Any exception raised during the execution of the method.
Post a comment