WhiteboardEventHandler class Null safety

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, UserIdCallback? onVisionShareStarted, UserIdCallback? onVisionShareStopped, OnUserJoined? onUserJoined, UserIdCallback? onUserLeft, OnUndoStatusChanged? onUndoStatusChanged, OnRedoStatusChanged? onRedoStatusChanged})
Constructs a WhiteboardEventHandler

Properties

hashCode int
The hash code for this object.
read-onlyinherited
onAddBackgroundImages ↔ FileIdCallback?
Notification of add background images
read / write
onAddH5File ↔ FileIdCallback?
Notification of add H5 file
read / write
onContentUpdated ↔ EmptyCallback?
Notification of whiteboard content update
read / write
onCreateDoc ↔ FileIdCallback?
Notification of create whiteboard file
read / write
onDeleteDoc ↔ FileIdCallback?
Notification of delete whiteboard file
read / write
onDocThumbnailReady ↔ OnDocThumbnailReady?
Notification of whiteboard file thumbnail ready
read / write
onDocTranscodeStatus ↔ OnDocTranscodeStatus?
Notification of doc transcode status
read / write
onExternalHtmlMessageReceived ↔ OnExternalHtmlMessageReceived?
Notification of custom message received from external html
read / write
onHtmlStateChanged ↔ OnHtmlStateChanged?
Notification of html state changed.
read / write
onImageStateChanged ↔ OnImageStateChanged?
Notification of image state changed
read / write
onMessage ↔ OnMessage?
Notification of message
read / write
onPageNumberChanged ↔ OnPageNumberChanged?
Notification of page number changed
read / write
onRedoStatusChanged ↔ OnRedoStatusChanged?
Notification of redo status changed
read / write
onRoleTypeChanged ↔ OnRoleTypeChanged?
Notification of whiteboard role type changed
read / write
onSaveDoc ↔ OnSaveDoc?
Notification of save whiteboard file
read / write
onSnapshotComplete ↔ OnSnapshotComplete?
Notification of whiteboard snapshot complete
read / write
onStatusSynced ↔ EmptyCallback?
Notification of whiteboard data synced
read / write
onSwitchDoc ↔ FileIdCallback?
Notification of switch whiteboard file
read / write
onUndoStatusChanged ↔ OnUndoStatusChanged?
Notification of undo status changed
read / write
onUserJoined ↔ OnUserJoined?
Notification of attendee join
read / write
onUserLeft ↔ UserIdCallback?
Notification of attendee leave
read / write
onViewScaleChanged ↔ OnViewScaleChanged?
Notification of whiteboard view scale factor changed
read / write
onVisionShareStarted ↔ UserIdCallback?
Notification of vision share started
read / write
onVisionShareStopped ↔ UserIdCallback?
Notification of vision share stopped
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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