BarrageState

data class BarrageState(val messageList: StateFlow<List<Barrage>>, allowSendMessage: StateFlow<Boolean>)

Barrage state, managing the barrage data state of the current room.

Constructors

Link copied to clipboard
constructor(messageList: StateFlow<List<Barrage>>, allowSendMessage: StateFlow<Boolean>)

Properties

Link copied to clipboard
val messageList: StateFlow<List<Barrage>>

Barrage message list of the current room, supporting real-time updates and subscription listening. {@link Barrage}