NERoomWhiteboardController class abstract
白板控制器
- Inheritance
-
- Object
- NERoomBaseController
- NERoomWhiteboardController
- Annotations
-
- @HawkEntryPoint()
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSupported → bool
-
功能是否支持
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAttachment(
Object key, dynamic attachment) → void -
inherited
-
clearAttachments(
) → void -
inherited
-
createWhiteboardView(
{Set< Factory< ? gestureRecognizers, Color? backgroundColor}) → WidgetOneSequenceGestureRecognizer> > - 白板Widget
-
ensureAttachment<
T> (Object key) → T -
inherited
-
getAttachment<
T> (Object key) → T? -
inherited
-
getWhiteboardSharingUserUuid(
) → String? - 查询白板共享者的userUuid
-
isSharingWhiteboard(
) → bool - 查询当前用户是否正在共享白板
-
isWhiteboardSharing(
String userId) → bool - 查询用户是否正在共享白板
-
lockCameraWithContent(
int width, int height) → Future< VoidResult> -
将白板和被标注物的坐标绑定
width
被标注物的宽度(一般为视频画面宽度)height
被标注物的高度(一般为视频画面高度度) -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAttachment(
Object key) → void -
inherited
-
setCanvasBackgroundColor(
String color) → Future< VoidResult> -
设置白板背景颜色,只对当前客户端有影响
color
白板背景颜色,如"rgb(255, 255, 255)","rgba(255, 255, 255, 0)" -
showWhiteboardTools(
bool show) → Future< NEResult< void> > - 设置显示白板工具栏
- 开始白板共享
- 停止白板共享
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited