Version: 2022.2

AndroidJNI.RegisterNatives

切换到手册
public static int RegisterNatives (IntPtr clazz, JNINativeMethod[] methods);

返回

int Zero on success, negative value on error. Falsely succeeds in Editor.

描述

Registers native methods with the class specified by the clazz argument.