callStaticBooleanMethod
context(env: JniEnv)
fun JClass.callStaticBooleanMethod(methodId: JMethodID, args: JArguments): Boolean(source)
fun JClass.callStaticBooleanMethod(methodId: JMethodID, args: JArguments): Boolean(source)
Invokes a static method on a Java object, according to the specified method ID. The methodId argument must be obtained by calling staticMethodId.
The method ID must be derived from the class at receiver, not from one of its superclasses.
You should use this function only if the Java method you are calling returns boolean values.
Return
the result of calling the static Java method.
Throws
Exceptions raised during the execution of the Java method.