ProtectedJniExtensions extension

Extensions for use by jnigen generated code.

on
Annotations

Static Properties

lookup Pointer<T> Function<T extends NativeType>(String)

Available on Jni, provided by the ProtectedJniExtensions extension

no setter

Static Methods

deleteFinalizableHandle(Dart_FinalizableHandle finalizableHandle, Object object) → void

Available on Jni, provided by the ProtectedJniExtensions extension

ensureInitialized() → void

Available on Jni, provided by the ProtectedJniExtensions extension

Initializes DartApiDL used for Continuations and interface implementation.
getCurrentIsolateId() int

Available on Jni, provided by the ProtectedJniExtensions extension

newBooleanFinalizableHandle(Object object, Pointer<Bool> reference) Dart_FinalizableHandle

Available on Jni, provided by the ProtectedJniExtensions extension

newDartException(Object exception) Pointer<Void>

Available on Jni, provided by the ProtectedJniExtensions extension

Returns a new DartException.
newJObjectFinalizableHandle(Object object, Pointer<Void> reference, int refType) Dart_FinalizableHandle

Available on Jni, provided by the ProtectedJniExtensions extension

newPortContinuation(ReceivePort port) JReference

Available on Jni, provided by the ProtectedJniExtensions extension

Returns a new PortContinuation.
returnResult(Pointer<CallbackResult> result, JObjectPtr object) → void

Available on Jni, provided by the ProtectedJniExtensions extension

Returns the result of a callback.