ZegoSuperBoardOperationMode enum
Whiteboard operation mode, which affects the gesture identification on whiteboards.
Business scenario: When the scrolling mode is set, gestures are identified as scrolling. When the drawing mode is set, gestures are identified as drawing tools, such as the pen, straight line, and rectangle. When the None mode is set, the whiteboard does not respond to any gesture.
- Inheritance
- Available extensions
Values
- none → const ZegoSuperBoardOperationMode
- scroll → const ZegoSuperBoardOperationMode
-
Scrolling mode. In this mode, you can scroll and turn pages and synchronize the operations with other clients. In this mode, the whiteboard cannot respond to manual drawing operations. This mode cannot be used together with ZegoSuperBoardOperationModeDraw.
- draw → const ZegoSuperBoardOperationMode
-
Drawing mode. In this mode, the whiteboard will respond to diagram element drawing operations and synchronize the operations with other clients. The whiteboard page cannot be scrolled. This mode cannot be used together with ZegoSuperBoardOperationModeScroll.
- zoom → const ZegoSuperBoardOperationMode
-
Zooming gesture. If it is not set, the whiteboard is not zoomed in or out with gestures.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
Available on ZegoSuperBoardOperationMode, provided by the ZegoSuperBoardOperationModeExtension extension
no setter
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
Constants
-
values
→ const List<
ZegoSuperBoardOperationMode> - A constant List of the values in this enum, in order of their declaration.