Language

JniEnvironment.InstanceMethods.CallNonvirtualFloatMethod Method

Definition

Overloads

Name Description
CallNonvirtualFloatMethod(JniObjectReference, JniObjectReference, JniMethodInfo)

Invokes a parameterless Java float-returning method using the specified class implementation without virtual dispatch.

CallNonvirtualFloatMethod(JniObjectReference, JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java float-returning method using the specified class implementation without virtual dispatch.

CallNonvirtualFloatMethod(JniObjectReference, JniObjectReference, JniMethodInfo)

Invokes a parameterless Java float-returning method using the specified class implementation without virtual dispatch.

public static float CallNonvirtualFloatMethod(Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method);
static member CallNonvirtualFloatMethod : Java.Interop.JniObjectReference * Java.Interop.JniObjectReference * Java.Interop.JniMethodInfo -> single

Parameters

instance
JniObjectReference

A valid reference to the Java object.

type
JniObjectReference

A valid reference to the class used to obtain method.

method
JniMethodInfo

A valid JNI identifier for a parameterless float-returning instance method.

Returns

The method result as float.

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

CallNonvirtualFloatMethod(JniObjectReference, JniObjectReference, JniMethodInfo, JniArgumentValue*)

Invokes a Java float-returning method using the specified class implementation without virtual dispatch.

public static float CallNonvirtualFloatMethod(Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args);
static member CallNonvirtualFloatMethod : Java.Interop.JniObjectReference * Java.Interop.JniObjectReference * Java.Interop.JniMethodInfo * nativeptr<Java.Interop.JniArgumentValue> -> single

Parameters

instance
JniObjectReference

A valid reference to the Java object.

type
JniObjectReference

A valid reference to the class used to obtain method.

method
JniMethodInfo

A valid JNI identifier for a float-returning instance 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 float.

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