Interface VM

Hierarchy

  • VM

Methods

  • Gets a wrapper for the current thread's JNIEnv.

    Throws an exception if the current thread is not attached to the VM.

    Returns any

  • Ensures that the current thread is attached to the VM and calls fn. (This isn't necessary in callbacks from Java.)

    Parameters

    • fn: (() => void)

      Function to run while attached to the VM.

        • (): void
        • Returns void

    Returns void

  • Tries to get a wrapper for the current thread's JNIEnv.

    Returns null if the current thread is not attached to the VM.

    Returns any

Generated using TypeDoc