ZegoBarrageMessageInfo class
房间弹幕消息
收到的房间弹幕消息对象,包括消息内容、消息 ID、发送人、发送时间
Constructors
- ZegoBarrageMessageInfo(String message, String 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 ↔ String
-
消息 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