Language

JniEnvironment.StaticMethods.CallStaticBooleanMethod Method

Definition

Overloads

Name Description
CallStaticBooleanMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java boolean-returning static method.

CallStaticBooleanMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java boolean-returning static method.

CallStaticBooleanMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java boolean-returning static method.

public static bool CallStaticBooleanMethod(Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method);
static member CallStaticBooleanMethod : Java.Interop.JniObjectReference * Java.Interop.JniMethodInfo -> bool

Parameters

type
JniObjectReference

A valid reference to the Java class used for method lookup.

method
JniMethodInfo

A valid JNI identifier for a parameterless boolean-returning static method.

Returns

The method result as bool.

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

CallStaticBooleanMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java boolean-returning static method.

public static bool CallStaticBooleanMethod(Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args);
static member CallStaticBooleanMethod : Java.Interop.JniObjectReference * Java.Interop.JniMethodInfo * nativeptr<Java.Interop.JniArgumentValue> -> bool

Parameters

type
JniObjectReference

A valid reference to the Java class used for method lookup.

method
JniMethodInfo

A valid JNI identifier for a boolean-returning static 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 bool.

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