nl:: بافت:: JNIUtils
خلاصه
صفات استاتیک عمومی | |
---|---|
sJVM | JavaVM * |
sJavaObjectClass | jclass |
توابع استاتیک عمومی | |
---|---|
GetGlobalClassRef (JNIEnv *env, const char *clsType, jclass & outCls) | |
Init (JavaVM *jvm, JNIEnv *env, const char *weaveErrorClassName) | |
J2N_ByteArray (JNIEnv *env, jbyteArray inArray, uint8_t *& outArray, uint32_t & outArrayLen) | |
J2N_ByteArrayFieldVal (JNIEnv *env, jobject obj, const char *fieldName, uint8_t *& outArray, uint32_t & outArrayLen) | |
J2N_ByteArrayInPlace (JNIEnv *env, jbyteArray inArray, uint8_t *outArray, uint32_t maxArrayLen) | |
J2N_EnumFieldVal (JNIEnv *env, jobject obj, const char *fieldName, const char *fieldType, int & outVal) | |
J2N_EnumVal (JNIEnv *env, jobject enumObj, int & outVal) | |
J2N_IntFieldVal (JNIEnv *env, jobject obj, const char *fieldName, jint & outVal) | |
J2N_LongFieldVal (JNIEnv *env, jobject obj, const char *fieldName, jlong & outVal) | |
J2N_ShortFieldVal (JNIEnv *env, jobject obj, const char *fieldName, jshort & outVal) | |
J2N_StringFieldVal (JNIEnv *env, jobject obj, const char *fieldName, char *& outVal) | |
N2J_ByteArray (JNIEnv *env, const uint8_t *inArray, uint32_t inArrayLen, jbyteArray & outArray) | |
N2J_Error (JNIEnv *env, WEAVE_ERROR inErr, jthrowable & outEx) | |
RegisterLibraryMethods (JNIEnv *env, const char *basePackageName, const JNILibraryMethod *libMethods, size_t numLibMethods) | |
Shutdown (JNIEnv *env) | void |
ThrowError (JNIEnv *env, WEAVE_ERROR errToThrow) | void |
صفات استاتیک عمومی
sJVM
JavaVM * sJVM
sJavaObjectClass
jclass sJavaObjectClass
توابع استاتیک عمومی
GetGlobalClassRef
WEAVE_ERROR GetGlobalClassRef( JNIEnv *env, const char *clsType, jclass & outCls )
شروع کنید
WEAVE_ERROR Init( JavaVM *jvm, JNIEnv *env, const char *weaveErrorClassName )
J2N_ByteArray
WEAVE_ERROR J2N_ByteArray( JNIEnv *env, jbyteArray inArray, uint8_t *& outArray, uint32_t & outArrayLen )
J2N_ByteArrayFieldVal
WEAVE_ERROR J2N_ByteArrayFieldVal( JNIEnv *env, jobject obj, const char *fieldName, uint8_t *& outArray, uint32_t & outArrayLen )
J2N_ByteArrayInPlace
WEAVE_ERROR J2N_ByteArrayInPlace( JNIEnv *env, jbyteArray inArray, uint8_t *outArray, uint32_t maxArrayLen )
J2N_EnumFieldVal
WEAVE_ERROR J2N_EnumFieldVal( JNIEnv *env, jobject obj, const char *fieldName, const char *fieldType, int & outVal )
J2N_EnumVal
WEAVE_ERROR J2N_EnumVal( JNIEnv *env, jobject enumObj, int & outVal )
J2N_IntFieldVal
WEAVE_ERROR J2N_IntFieldVal( JNIEnv *env, jobject obj, const char *fieldName, jint & outVal )
J2N_LongFieldVal
WEAVE_ERROR J2N_LongFieldVal( JNIEnv *env, jobject obj, const char *fieldName, jlong & outVal )
J2N_ShortFieldVal
WEAVE_ERROR J2N_ShortFieldVal( JNIEnv *env, jobject obj, const char *fieldName, jshort & outVal )
J2N_StringFieldVal
WEAVE_ERROR J2N_StringFieldVal( JNIEnv *env, jobject obj, const char *fieldName, char *& outVal )
N2J_ByteArray
WEAVE_ERROR N2J_ByteArray( JNIEnv *env, const uint8_t *inArray, uint32_t inArrayLen, jbyteArray & outArray )
N2J_Error
WEAVE_ERROR N2J_Error( JNIEnv *env, WEAVE_ERROR inErr, jthrowable & outEx )
RegisterLibraryMethods
WEAVE_ERROR RegisterLibraryMethods( JNIEnv *env, const char *basePackageName, const JNILibraryMethod *libMethods, size_t numLibMethods )
خاموش شدن
void Shutdown( JNIEnv *env )
ThrowError
void ThrowError( JNIEnv *env, WEAVE_ERROR errToThrow )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
تاریخ آخرین بهروزرسانی 2024-09-11 بهوقت ساعت هماهنگ جهانی.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]
{"lastModified": "\u062a\u0627\u0631\u06cc\u062e \u0622\u062e\u0631\u06cc\u0646 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc 2024-09-11 \u0628\u0647\u200c\u0648\u0642\u062a \u0633\u0627\u0639\u062a \u0647\u0645\u0627\u0647\u0646\u06af \u062c\u0647\u0627\u0646\u06cc."}
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2024-09-11 بهوقت ساعت هماهنگ جهانی."],[],[]]