Language

JniEnvironment.StaticMethods Class

Definition

Provides JNI static method lookup and calls.

public static class JniEnvironment.StaticMethods
type JniEnvironment.StaticMethods = class
Inheritance
JniEnvironment.StaticMethods

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.

Methods

Name Description
CallStaticBooleanMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java boolean-returning static method.

CallStaticBooleanMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java boolean-returning static method.

CallStaticByteMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java byte-returning static method.

CallStaticByteMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java byte-returning static method.

CallStaticCharMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java char-returning static method.

CallStaticCharMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java char-returning static method.

CallStaticDoubleMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java double-returning static method.

CallStaticDoubleMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java double-returning static method.

CallStaticFloatMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java float-returning static method.

CallStaticFloatMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java float-returning static method.

CallStaticIntMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java int-returning static method.

CallStaticIntMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java int-returning static method.

CallStaticLongMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java long-returning static method.

CallStaticLongMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java long-returning static method.

CallStaticObjectMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java object-returning static method.

CallStaticObjectMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java object-returning static method.

CallStaticShortMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java short-returning static method.

CallStaticShortMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java short-returning static method.

CallStaticVoidMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java void static method.

CallStaticVoidMethod(JniObjectReference, JniMethodInfo)

Invokes a parameterless Java void static method.

GetStaticMethodID(JniObjectReference, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Looks up a JNI static method ID using null-terminated UTF-8 name and signature spans. Use with "methodName"u8 literals to avoid string marshalling overhead.

GetStaticMethodID(JniObjectReference, String, String)

Resolves a JNI static method identifier.

Applies to