ReplayOptions class
- Annotations
Constructors
- ReplayOptions({required String room, required String roomToken, String region = Region.cn_hz, String? mediaURL, int beginTimestamp = 0, String? slice, int? duration, CameraBound? cameraBound, int step = 500, WindowParams? windowParams})
Properties
- beginTimestamp → int
-
Unix 时间戳(毫秒),表示回放的起始 UTC 时间。例如,如果要将回放的起始时间设为 2021-03-10 18:03:34 GMT+0800,你需要传入
1615370614269
final - cameraBound → CameraBound?
-
本地用户的视角边界
final
- duration → int?
-
回放的持续时长,单位为毫秒。
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mediaURL → String?
-
音频地址,暂不支持视频。
Player 会自动与音视频播放做同步,保证同时播放,当一方缓冲时,会暂停。
final
- region → String
-
实例的数据中心。详见 Region
final
- room → String
-
房间 UUID,即房间唯一标识符,必须和加入互动白板房间实例时设置的房间 UUID 一致
final
- roomToken → String
-
用于鉴权的 Room Token,必须是使用上面传入的房间 UUID 生成的 Room Token
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slice → String?
-
final
- step → int
-
回调播放进度的频率 默认500ms
final
- windowParams → WindowParams?
-
多窗口属性
final
Methods
-
copyWith(
{String? room, String? roomToken, String? region, String? mediaURL, int? beginTimestamp, String? slice, int? duration, CameraBound? cameraBound, int? step, WindowParams? windowParams}) → ReplayOptions -
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