Version: 2022.2
언어: 한국어

AndroidJNIHelper

class in UnityEngine

매뉴얼로 전환

설명

Helper interface for JNI interaction; signature creation and method lookups.

Note: Using raw JNI functions requires advanced knowledge of the Android Java Native Interface (JNI). Please take note.

정적 변수

debugSet debug to true to log calls through the AndroidJNIHelper.

정적 함수

BoxConvert primitive to it's object counterpart.
ConvertFromJNIArrayCreates a managed array from a Java array.
ConvertToJNIArrayCreates a Java array from a managed array.
CreateJavaProxyCreates a java proxy object which connects to the supplied proxy implementation.
CreateJavaRunnableCreates a UnityJavaRunnable object (implements java.lang.Runnable).
CreateJNIArgArrayCreates the parameter array to be used as argument list when invoking Java code through CallMethod() in AndroidJNI.
DeleteJNIArgArrayDeletes any local jni references previously allocated by CreateJNIArgArray().
GetConstructorIDScans a particular Java class for a constructor method matching a signature.
GetFieldIDScans a particular Java class for a field matching a name and a signature.
GetMethodIDScans a particular Java class for a method matching a name and a signature.
GetSignatureCreates the JNI signature string for particular object type.
UnboxConverts Java object of a boxed type to its primitive counterpart.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961