LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

AndroidJNI.DetachCurrentThread

public static int DetachCurrentThread();

Description

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

A thread must be detached from the VM before exiting.

See Also: Java Native Interface Specification (Oracle)