interface JniNativeHandleOwner
static val EMPTY_HANDLE: Long
The default native handle value. Specifies that the native handle was never created on jni site. |
abstract fun dispose(): Unit
Remove all internal references, clear memory, invalidate the native handle. Has to be called when the native object is no longer needed. |
|
abstract fun getNativeHandle(): Long
Get the native object's unique id, valid until |
interface NativeObject : JniNativeHandleOwner
A Java counterpart of a native object. |