Језик

JniNativeMethod(Byte*, Byte*, IntPtr) Constructor

Definition

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.

Applies to