JavaScriptContextHolder

Wrapper for JavaScriptContext native pointer. This object is creates on demand as part of the initialization of React native, and will call clear() before destroying the VM. People who need the raw JavaScriptContext pointer can synchronize on this wrapper object to guarantee that it will not be destroyed.

Constructors

Link copied to clipboard
constructor(context: Long)

Functions

Link copied to clipboard
Link copied to clipboard
fun get(): Long