iris_method_channel library
Classes
- ApiCallListRequest
- ApiCallRequest
- BufferParam
- BufferParamHandle
-
The IrisHandle of the
BufferParam
- CallApiResult
- CreateApiEngineResult
- CreateNativeEventHandlerListRequest
- CreateNativeEventHandlerRequest
- DestroyNativeEventHandlerListRequest
- DestroyNativeEventHandlerRequest
- DisposableObject
- Interface to indicate the object is disposable.
- DisposableScopedObjects
- Disposable ScopedObjects which will clear all the objects from ScopedObjects in dispose
- EventHandlerHolder
- EventHandlerHolderKey
- EventLoopEventHandler
- Iris event handler interface
- InitilizationArgProvider
- InitilizationResult
- IrisApiEngineHandle
-
The IrisHandle of the iris's
IrisApiEngine
- IrisApiParamHandle
-
The IrisHandle of the iris's
ApiParam
- IrisCEventHandlerHandle
-
The IrisHandle of the iris's
IrisCEventHandler
- IrisEvent
- IrisEventHandlerHandle
-
The IrisHandle of the iris's
IrisEventHandler
- IrisEventKey
- IrisEventMessage
- Object to hold the iris event infos
- IrisHandle
-
Callable class that represent the
Handle
type. You can get the actual handle value as a callable function. e.g., - IrisMethodCall
- IrisMethodCallListRequest
- IrisMethodCallRequest
- IrisMethodChannel
- IrisMethodChannelInternal
- ObjectIrisHandle
- IrisHandle implementation that hold a value of Object type. And return the value when the callable function is called.
- PlatformBindingsDelegateInterface
- Unified interface for iris API engine of different platforms. On IO, the PlatformBindingsDelegateInterface is running inside a seperate isolate which is spawned by the main isolate, so you should not share any objects in this class.
- PlatformBindingsProvider
- Provider class that allow the user passing the custom implemetation of PlatformBindingsDelegateInterface, and IrisEvent.
- Request
- 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
-
parseMessage(
dynamic message) → IrisEventMessage - Parse message to IrisEventMessage object
-
uint8ListFromPtr(
int intPtr, int length) → Uint8List -
Stub function for translate the int ptr to the Uint8List.
See implementation:
io:
io/utils_actual_io.dart
web:web/utils_actual_web.dart
(Empty implementation)
Typedefs
- DisposableObjectProvider = ScopedDisposableObjectMixin Function()
- Provider function for DisposableObject
- HotRestartListener = void Function(Object? message)
- Listener when hot restarted.
- IrisEventMessageListener = void Function(IrisEventMessage message)