ZegoBroadcastMessageInfo class
房间广播消息
收到的房间广播消息对象,包括消息内容、消息 ID、发送人、发送时间
Constructors
- ZegoBroadcastMessageInfo(String message, int messageID, int sendTime, ZegoUser fromUser)
Properties
- fromUser ↔ ZegoUser
-
消息的发送者。请勿在此字段填写用户敏感信息,包括但不限于手机号、身份证号、护照编号、真实姓名等。
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String
-
消息内容
getter/setter pair
- messageID ↔ int
-
消息 ID
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendTime ↔ int
-
消息的发送时间,UNIX 时间戳,单位为毫秒
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