BarrageStore

abstract class BarrageStore

Barrage management class.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Barrage management core class, used to handle barrage related business logic in live rooms/voice chat rooms.

Properties

Link copied to clipboard

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}

Functions

Link copied to clipboard
abstract fun appendLocalTip(message: Barrage)

Add local tip message (add tip or operation feedback message locally, visible only to the current client).

Link copied to clipboard
abstract fun sendCustomMessage(businessID: String?, data: String?, completion: CompletionHandler?)

Send custom type barrage.

Link copied to clipboard
abstract fun sendTextMessage(text: String?, extensionInfo: Map<String, String>?, completion: CompletionHandler?)

Send text type barrage.