Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AndroidJNI.DetachCurrentThread

Declaration

public static int DetachCurrentThread();

Description

Detaches the current thread from a Java (Dalvik) VM.

A thread must be detached from the VM before exiting.

Additional resources: Java Native Interface Specification (Oracle)