ドキュメント

Unity Engine

Download Unity

Unity Engine

AttachCurrentThread()

Attaches the current thread to a Java (Dalvik) VM.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static int AttachCurrentThread()

Returns

Type

Description

intZero on success. A negative number on failure.

Remarks

A thread must be attached to the VM before any other JNI calls can be made.