JniMethodInfo Constructors
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 |
|---|---|
| JniMethodInfo(IntPtr, Boolean) |
Creates method information from an existing JNI method identifier. |
| JniMethodInfo(String, String, IntPtr, Boolean) |
Creates method information with optional debug name and signature data. |
JniMethodInfo(IntPtr, Boolean)
Creates method information from an existing JNI method identifier.
public JniMethodInfo(IntPtr methodID, bool isStatic);
new Java.Interop.JniMethodInfo : nativeint * bool -> Java.Interop.JniMethodInfo
Parameters
- methodID
-
IntPtr
nativeint
The JNI method identifier to store.
- isStatic
- Boolean
true for a static method; false for an instance 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
JniMethodInfo(String, String, IntPtr, Boolean)
Creates method information with optional debug name and signature data.
public JniMethodInfo(string name, string signature, IntPtr methodID, bool isStatic);
new Java.Interop.JniMethodInfo : string * string * nativeint * bool -> Java.Interop.JniMethodInfo
Parameters
- name
- String
The method name, retained only in debug builds.
- signature
- String
The JNI method signature, retained only in debug builds.
- methodID
-
IntPtr
nativeint
The JNI method identifier to store.
- isStatic
- Boolean
true for a static method; false for an instance 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.