NativeApi class
Utilities for accessing the Dart VM API from Dart code or from C code via dart_api_dl.h
.
Constructors
Properties
- hashCode → int read-only, inherited
- The hash code for this object. [...]
- runtimeType → Type read-only, inherited
- A representation of the runtime type of the object.
Methods
- noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed. [...]
- toString(
) → String inherited - A string representation of this object. [...]
Operators
- operator ==(
Object other) → bool inherited - The equality operator. [...]
Static Properties
- closeNativePort → Pointer<
NativeFunction< Int8 Function(Int64)> >read-only - A function pointer to
bool Dart_CloseNativePort(Dart_Port native_port_id)
indart_native_api.h
. - initializeApiDLData → Pointer<
Void> read-only - Pass this to
Dart_InitializeApiDL
in your native code to enable using the symbols indart_api_dl.h
. - majorVersion → int read-only
- On breaking changes the major version is increased. [...]
- minorVersion → int read-only
- On backwards compatible changes the minor version is increased. [...]
- newNativePort → Pointer<
NativeFunction< Int64 Function(Pointer< >Uint8> , Pointer<NativeFunction< , Int8)>Dart_NativeMessageHandler> >read-only - A function pointer to [...]
- postCObject → Pointer<
NativeFunction< Int8 Function(Int64, Pointer< >Dart_CObject> )>read-only - A function pointer to
bool Dart_PostCObject(Dart_Port port_id, Dart_CObject* message)
indart_native_api.h
.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-ffi/NativeApi-class.html