WhiteboardEventHandler class
Callback of RtcWhiteboard, the callback must set to RtcWhiteboard to get events notification.
RtcWhiteboard 的回调函数, 在使用 RtcWhiteboard 之前必须要设置回调以获取事件通知。
Constructors
- WhiteboardEventHandler({EmptyCallback? onStatusSynced, OnPageNumberChanged? onPageNumberChanged, OnImageStateChanged? onImageStateChanged, OnHtmlStateChanged? onHtmlStateChanged, OnViewScaleChanged? onViewScaleChanged, OnRoleTypeChanged? onRoleTypeChanged, EmptyCallback? onContentUpdated, OnSnapshotComplete? onSnapshotComplete, OnMessage? onMessage, FileIdCallback? onAddBackgroundImages, FileIdCallback? onAddH5File, OnDocTranscodeStatus? onDocTranscodeStatus, FileIdCallback? onCreateDoc, FileIdCallback? onDeleteDoc, FileIdCallback? onSwitchDoc, OnSaveDoc? onSaveDoc, OnDocThumbnailReady? onDocThumbnailReady, OnExternalHtmlMessageReceived? onExternalHtmlMessageReceived, OnUserJoined? onUserJoined, UserIdCallback? onUserLeft, OnUndoStatusChanged? onUndoStatusChanged, OnRedoStatusChanged? onRedoStatusChanged})
- Constructs a WhiteboardEventHandler
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onAddBackgroundImages ↔ FileIdCallback?
-
Notification of add background images
getter/setter pair
- onAddH5File ↔ FileIdCallback?
-
Notification of add H5 file
getter/setter pair
- onContentUpdated ↔ EmptyCallback?
-
Notification of whiteboard content update
getter/setter pair
- onCreateDoc ↔ FileIdCallback?
-
Notification of create whiteboard file
getter/setter pair
- onDeleteDoc ↔ FileIdCallback?
-
Notification of delete whiteboard file
getter/setter pair
- onDocThumbnailReady ↔ OnDocThumbnailReady?
-
Notification of whiteboard file thumbnail ready
getter/setter pair
- onDocTranscodeStatus ↔ OnDocTranscodeStatus?
-
Notification of doc transcode status
getter/setter pair
- onExternalHtmlMessageReceived ↔ OnExternalHtmlMessageReceived?
-
Notification of custom message received from external html
getter/setter pair
- onHtmlStateChanged ↔ OnHtmlStateChanged?
-
Notification of html state changed.
getter/setter pair
- onImageStateChanged ↔ OnImageStateChanged?
-
Notification of image state changed
getter/setter pair
- onMessage ↔ OnMessage?
-
Notification of message
getter/setter pair
- onPageNumberChanged ↔ OnPageNumberChanged?
-
Notification of page number changed
getter/setter pair
- onRedoStatusChanged ↔ OnRedoStatusChanged?
-
Notification of redo status changed
getter/setter pair
- onRoleTypeChanged ↔ OnRoleTypeChanged?
-
Notification of whiteboard role type changed
getter/setter pair
- onSaveDoc ↔ OnSaveDoc?
-
Notification of save whiteboard file
getter/setter pair
- onSnapshotComplete ↔ OnSnapshotComplete?
-
Notification of whiteboard snapshot complete
getter/setter pair
- onStatusSynced ↔ EmptyCallback?
-
Notification of whiteboard data synced
getter/setter pair
- onSwitchDoc ↔ FileIdCallback?
-
Notification of switch whiteboard file
getter/setter pair
- onUndoStatusChanged ↔ OnUndoStatusChanged?
-
Notification of undo status changed
getter/setter pair
- onUserJoined ↔ OnUserJoined?
-
Notification of attendee join
getter/setter pair
- onUserLeft ↔ UserIdCallback?
-
Notification of attendee leave
getter/setter pair
- onViewScaleChanged ↔ OnViewScaleChanged?
-
Notification of whiteboard view scale factor changed
getter/setter pair
-
Notification of vision share started
getter/setter pair
-
Notification of vision share stopped
getter/setter pair
- 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