_internal library

This library exports the methods meant for use by generated code only, and not to be used directly.

Classes

Double
Represents a native 64 bit double in C.
Int32
Temporary fix for the macOS arm64 varargs problem.
Int64
Represents a native signed 64 bit integer in C.
JGlobalReference
A managed JNI global reference.
JObjType<T extends JObject?>
JReference
JType<JavaT>
MethodInvocation
NativeFunction<T extends Function>
Represents a function type in C.
Pointer<T extends NativeType>
Represents a pointer into the native C memory. Cannot be extended.
RawReceivePort
A low-level asynchronous message receiver.
ReceivePort
Together with SendPort, the only means of communication between isolates.
VarArgs<T extends Record>
The types of variadic arguments passed in C.
Void
Represents a void type in C.

Mixins

JAccessible<JavaT, DartT>
Able to be the type of a field that can be get and set.
JCallable<JavaT, DartT>
Able to be a return type of a method that can be called.
JConstructable<JavaT, DartT>
Able to be constructed.

Extensions

JniClassLookupResultMethods on JniClassLookupResult
JniIdLookupResultMethods on JniPointerResult
JniResultMethods on JniResult
JThrowableCheckMethod on JThrowablePtr
NativeFunctionPointer on Pointer<NativeFunction<NF>>
Extension on Pointer specialized for the type argument NativeFunction.
NativePort on SendPort
Extension to retrieve the native Dart_Port from a SendPort.
ProtectedJniExtensions on Jni
Extensions for use by jnigen generated code.
ProtectedJReference on JReference

Constants

internal → const _Internal
Used to annotate a declaration which should only be used from within the package in which it is declared, and which should not be exposed from said package's public API.
referenceType → const _ReferenceType
Only used for jnigen.

Properties

jNullReference JReference
final
nullptr Pointer<Never>
Represents a pointer into the native C memory corresponding to 'NULL', e.g. a pointer with address 0.
final