BarrageStore class abstract
Barrage management class.
Constructors
Properties
- barrageState → BarrageState
-
Barrage state subscription of the current room, containing barrage message list and other information. By subscribing to this state, you can get real-time updates of barrage data in the room. {@link BarrageState}
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appendLocalTip(
Barrage message) → void - Add local tip message (add tip or operation feedback message locally, visible only to the current client).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendCustomMessage(
{required String businessID, required String data}) → Future< CompletionHandler> - Send custom type barrage.
-
sendTextMessage(
{required String text, Map< String, String> ? extensionInfo}) → Future<CompletionHandler> - Send text type barrage.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
String liveID) → BarrageStore - Barrage management core class, used to handle barrage related business logic in live rooms/voice chat rooms.