iris_method_channel library
Classes
- ApiParam
- BufferParam
- CallApiResult
- CreateNativeApiEngineResult
- DisposableObject
- Interface to indicate the object is disposable.
- DisposableScopedObjects
- Disposable ScopedObjects which will clear all the objects from ScopedObjects in dispose
- EventHandlerHolder
- EventLoopEventHandler
- Iris event handler interface
- EventParam
- InitilizationResult
- IrisCEventHandler
- IrisEvent
- Iris event handler which forward events to dart side. See native implementation src/iris_event.cc
- IrisEventKey
- IrisEventMessage
- Object to hold the iris event infos
- IrisMethodCall
- IrisMethodChannel
- NativeBindingDelegate
- Unified interface for iris API engine. The NativeBindingDelegate is running inside a seperate isolate which is spawned by the main isolate, so you should not share any objects in this class.
- NativeBindingsProvider
- A provider for provide the ffi bindings of native implementation(such like NativeBindingDelegate, IrisEvent), which is passed to the isolate, you should not sotre any objects with type that SendPort not allowed.
- ScopedEvent
- ScopedKey
- A key object which used with ScopedObjects
- ScopedObjects
- Scope the objects which mixin with the ScopedDisposableObjectMixin, all objects will be disposed after clear
- TypedScopedKey
- A ScopedKey assosiate with Type
Mixins
- ScopedDisposableObjectMixin
- Mixin for DisposableObject, to let the DisposableObject work with the ScopedObjects
Constants
- kBasicResultLength → const int
-
kDisposedIrisMethodCallData
→ const Map<
String, int> - kDisposedIrisMethodCallReturnCode → const int
Functions
-
freePointer(
Pointer< Void> ptr) → void -
uint8ListFromPtr(
int intPtr, int length) → Uint8List -
uint8ListToPtr(
Uint8List buffer) → Pointer< Void>
Typedefs
- DisposableObjectProvider = ScopedDisposableObjectMixin Function()
- Provider function for DisposableObject
-
Func_Event
= Pointer<
NativeFunction< Void Function(Pointer< >EventParam> )> - HotRestartListener = void Function(Object? message)
- Listener when hot restarted.
-
IrisEventHandlerHandle
= Pointer<
Void>