VoltronRenderBridgeManager class

voltron外层业务逻辑对c++调用逻辑的bridge封装

Implemented types

Constructors

VoltronRenderBridgeManager(int _engineId)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRoot(int domInstanceId, int rootId) → void
bindRenderContext(RenderContext<LoadInstanceContext> renderContext) → void
calculateNodeLayout(int instanceId, int nodeId, FlexLayoutParams layoutParams) → int
callNativeFunction(String callbackId, Object params) → Future
createDomInstance() → int
createNativeRenderManager() → int
destroy() → void
override
destroyDomInstance(int domInstanceId) → void
destroyNativeRenderManager() → Future
init() → void
initRenderApi() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postRenderOp(int rootId, dynamic renderOp) → void
removeRoot(int domInstanceId, int rootId) → void
sendComponentEvent(int rootId, int id, String event, Object params) → Future
Dispatch UI component event, such as onLayout, onScroll, onInitialListReady.
sendGestureEvent(int rootId, int id, String event, Object params) → Future
Dispatch UI component event, such as click, doubleClick.
sendRootEvent(int rootId, int id, String event, Object params) → Future
dispatch root event, such as frameUpdate
toString() → String
A string representation of this object.
inherited
updateNodeSize(int rootId, {int nodeId = 0, double width = 0, double height = 0}) → Future
更新节点尺寸,注意,当不传入nodeId时等同于updateRootSize

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

bridgeMap ↔ HashMap<int, VoltronRenderBridgeManager>
getter/setter pair