AudioRoomMessageControllerImpl class
Here are the APIs related to message.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
list(
) → List< ZegoInRoomMessage> - Retrieves a list of chat messages that already exist in the room.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
String message) → Future< bool> - sends the chat message
-
stream(
) → Stream< List< ZegoInRoomMessage> > -
Retrieves a list stream of chat messages that already exist in the room.
the stream will dynamically update when new chat messages are received,
and you can use a
StreamBuilder
to listen to it and update the UI in real time. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited