VoltronJSLoaderManager class
Properties
- engineId → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pendingExecutor
→ List<
ModuleExecutor> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createLoader(
ModuleLoadParams loadParams, {ModuleListener? moduleListener, OnLoadCompleteListener? onLoadCompleteListener}) → VoltronJSLoader -
destroy(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendData(
String event, Object params) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createLoaderManager(
EngineInitParams params, EngineListener listener) → VoltronJSLoaderManager -
initCustomLibrary(
{required String path, required String name}) → void - 自定义so或者dylib库路径和名称,可用于动态加载library库 此方法需要在创建引擎前调用 注意,调用此方法需要自己判断当前机器的cpu架构,否则会导致加载失败 另外调用此方法需要保证路径和名称正确性,否则会导致加载失败