RoomOptions class

Annotations

Constructors

RoomOptions({required String uuid, required String roomToken, required String uid, String region = Region.cn_hz, bool isWritable = true, CameraBound? cameraBound, int timeout = 45000, bool disableEraseImage = false, bool disableDeviceInputs = false, bool disableOperations = false, bool disableCameraTransform = false, bool disableBezier = false, bool disableNewPencil = false, bool disableTextOperations = false, dynamic userPayload, WindowParams? windowParams})
实时房间的参数

Properties

cameraBound CameraBound?
视角边界。
final
disableBezier bool
关闭贝塞尔曲线优化。
final
disableCameraTransform bool
禁止本地用户操作白板视角
final
disableDeviceInputs bool
禁止白板工具响应用户输入
final
disableEraseImage bool
禁止白板工具响应用户输入。
final
disableNewPencil bool
关闭笔锋效果
final
disableOperations bool
禁止白板工具响应用户输入
final
disableTextOperations bool
是否关闭 insertTextupdateText 操作权限
final
hashCode int
The hash code for this object.
no setterinherited
isWritable bool
是否以互动模式加入白板房间
final
region String
数据中心。Region
final
roomToken String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout int
重连时,最大重连尝试时间,单位:毫秒,默认 45 秒。
final
uid String
final
userPayload → dynamic
获取自定义用户信息。
final
uuid String
final
windowParams WindowParams?
多窗口属性
final

Methods

copyWith({String? uuid, String? roomToken, String? uid, String? region, bool? isWritable, CameraBound? cameraBound, int? timeout, bool? disableEraseImage, bool? disableDeviceInputs, bool? disableOperations, bool? disableCameraTransform, bool? disableBezier, bool? disableNewPencil, bool? disableTextOperations, dynamic userPayload, WindowParams? windowParams}) RoomOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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