NEWhiteBoard class abstract
白板服务, 主要提供会议中白板一系列方法, eg: 会议白板
Constructors
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
-
enableDraw(
bool enable) → Future< int> - 设置是否有能力开启编辑 可以在NEWhiteboardJoinWBSucceed 之后调用
-
getEditWhiteBoardStatus(
) → bool - 获取当前编辑状态
-
getWhiteboardUrl(
) → String - 获取白板地址,目前是默认地址
-
initWhiteboardJavascriptChannel(
Future< WebViewController> javascriptController, {NEWhiteboardGetAuthInfo? onWhiteboardGetAuthInfo, NEWhiteboardPageLoaded? onWhiteboardPageLoaded, NEWhiteboardJoinWBSucceed? onWhiteboardJoinWBSucceed, NEWhiteboardErrorCallback? onWhiteboardErrorCallback, NEWhiteboardLeave? onWhiteboardLeave, NEWhiteboardInterceptLog? onWhiteboardInterceptLog}) → JavascriptChannel -
WebViewController
javascriptController NEWhiteboardGetAuthInfo 在G2版本回调使用,必须传入 NEWhiteboardPageLoaded 白板加载完成回调 NEWhiteboardJoinWBSucceed 白板登录完成回调 NEWhiteboardErrorCallback 白板错误fail回调 NEWhiteboardLeave 白板内部离开回调 NEWhiteboardInterceptLog 白板内部日志拦截回调 -
isWhiteboardLogin(
) → bool - 获取当前白板是否已经登录
-
login(
RoomWBLoginInfo whiteBoardUserInfo) → Future< String?> - RoomWBLoginInfo 登录白板账户,需要申请对应的白板appKey.创建白板账户.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → Future< int> - 释放白板
-
setContainerOptions(
{WhiteBoardContainerOptions whiteBoardContainerOptions}) → Future< String?> - 设置默认的白板容器图标,目前为默认设置 可以在NEWhiteboardJoinWBSucceed 之后调用
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getInstance(
String ver) → NEWhiteBoard - 获取白板实例