FUViewModelManagerPlugin class

Constructors

FUViewModelManagerPlugin()

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

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

Operators

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

Static Properties

channel MethodChannel
getter/setter pair

Static Methods

addViewModelToRunLoop(int bizType) Future
compatibleClickBeautyItem(int index) Future
选中底部业务 上层业务层已经处理掉了映射关系 由于实际业务 美型、美肤、滤镜 是一个整体:美颜,所以索引需要一层映射处理,即美型、美肤、滤镜对应的index = 0 其余的索引 依次 index = index - 2
config() Future
dispose() Future
removeViewModelFromRunLoop(int bizType) Future
startBeautyStreamListen() Future
开启模块流式监听,每帧获取 debug信息和检测人脸信息, 数据以json 格式返回{"debug": "debug内容", "hasFace": bool}
switchOn(bool isOn, int bizType) Future

Constants

viewModelManagerPlugin → const String