AttachCurrentThread()
Attaches the current thread to a Java (Dalvik) VM.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
public static int AttachCurrentThread()
Returns
Type | Description |
|---|---|
| int |
Remarks
A thread must be attached to the VM before any other JNI calls can be made.
Returns 0 on success; returns a negative number on failure.
Additional Resources: Java Native Interface Specification (Oracle)