ZegoRoomSendTransparentMessage class

房间透传消息

房间透传消息,包括房间id, 消息内容,发送用户,发送类型,发送模式,超时时间。

Constructors

ZegoRoomSendTransparentMessage(ZegoRoomTransparentMessageMode sendMode, ZegoRoomTransparentMessageType sendType, Uint8List content, List<ZegoUser> recvUserList, int timeOut)

Properties

content ↔ Uint8List
发送的内容
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
recvUserList ↔ List<ZegoUser>
消息接收者列表,当sendType 指定为ZegoRoomTransparentMessageModeOnlyServer 可不填。当指定为 ZegoRoomTransparentMessageModeClientAndServer 或 ZegoRoomTransparentMessageModeOnlyClient 时,为空将发送给房间所有在线用户。
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendMode ZegoRoomTransparentMessageMode
发送模式
getter/setter pair
sendType ZegoRoomTransparentMessageType
发送类型
getter/setter pair
timeOut ↔ int
消息的发送超时时间,单位s, 默认10s。
getter/setter pair

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