Language

JniEnvironment.StaticMethods.CallStaticVoidMethod Method

Definition

Overloads

Name Description
CallStaticVoidMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java void static method.

CallStaticVoidMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java void static method.

CallStaticVoidMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java void static method.

public static void CallStaticVoidMethod(Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method);
static member CallStaticVoidMethod : Java.Interop.JniObjectReference * Java.Interop.JniMethodInfo -> unit

Parameters

type
JniObjectReference

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

method
JniMethodInfo

A valid JNI identifier for a parameterless void static method.

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

CallStaticVoidMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java void static method.

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

Parameters

type
JniObjectReference

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

method
JniMethodInfo

A valid JNI identifier for a void 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.

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