JniEnvironment.StaticMethods.CallStaticFloatMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CallStaticFloatMethod(JniObjectReference, JniMethodInfo) |
Invokes a parameterless Java float-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.
public static float CallStaticFloatMethod(Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method);
static member CallStaticFloatMethod : Java.Interop.JniObjectReference * Java.Interop.JniMethodInfo -> single
Parameters
- type
- JniObjectReference
A valid reference to the Java class used for method lookup.
- method
- JniMethodInfo
A valid JNI identifier for a parameterless float-returning static 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
CallStaticFloatMethod(JniObjectReference, JniMethodInfo, JniArgumentValue*)
Invokes a Java float-returning static method.
public static float CallStaticFloatMethod(Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args);
static member CallStaticFloatMethod : Java.Interop.JniObjectReference * Java.Interop.JniMethodInfo * nativeptr<Java.Interop.JniArgumentValue> -> single
Parameters
- type
- JniObjectReference
A valid reference to the Java class used for method lookup.
- method
- JniMethodInfo
A valid JNI identifier for a float-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 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.