Get Method ID
fun CPointer<JNIEnvVar>.GetMethodID(classRef: jobject, methodName: String, signature: String): jmethodID?
Returns the method ID for an instance (nonstatic) method of a class or interface. The method may be defined in one of the clazz’s supertypes and inherited by clazz. The method is determined by its name and signature.
GetMethodID() causes an uninitialized class to be initialized.
To obtain the method ID of a constructor, supply
See also: JNI Reference.
Return
a method ID, or NULL if the specified method cannot be found.