Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:ffi
  3. NativeApi class
NativeApi
description

NativeApi classabstractfinal

Utilities for accessing the Dart VM API from Dart code orfrom C code viadart_api_dl.h.

Properties

hashCodeint
The hash code for this object.
no setterinherited
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Static Properties

closeNativePortPointer<NativeFunction<Int8 Function(Int64)>>
A function pointer tobool Dart_CloseNativePort(Dart_Port native_port_id)indart_native_api.h.
no setter
initializeApiDLDataPointer<Void>
Pass this toDart_InitializeApiDL in your native code to enable using thesymbols indart_api_dl.h.
no setter
majorVersionint
On breaking changes the major version is increased.
no setter
minorVersionint
On backwards compatible changes the minor version is increased.
no setter
newNativePortPointer<NativeFunction<Int64 Function(Pointer<Uint8>,Pointer<NativeFunction<Dart_NativeMessageHandler>>,Int8)>>
A function pointer to
no setter
postCObjectPointer<NativeFunction<Int8 Function(Int64,Pointer<Dart_CObject>)>>
A function pointer tobool Dart_PostCObject(Dart_Port port_id, Dart_CObject* message)indart_native_api.h.
no setter
  1. Dart
  2. dart:ffi
  3. NativeApi class
dart:ffi library

[8]ページ先頭

©2009-2025 Movatter.jp