JniNativeMethod(Byte*, Byte*, IntPtr) Constructor
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.
Creates a native method registration from string pointers and a function pointer.
public JniNativeMethod(byte* name, byte* signature, IntPtr functionPointer);
new Java.Interop.JniNativeMethod : nativeptr<byte> * nativeptr<byte> * nativeint -> Java.Interop.JniNativeMethod
Parameters
- name
- Byte*
A pointer to the null-terminated modified UTF-8 Java method name.
- signature
- Byte*
A pointer to the null-terminated modified UTF-8 JNI method signature.
- functionPointer
-
IntPtr
nativeint
The native entry point for the method.
Remarks
The constructor stores the pointer values without validation. The caller must keep the pointed-to data and entry point valid while JNI uses them.