Package-level declarations
Types
Link copied to clipboard
data class Barrage(var liveID: String = "", var sender: LiveUserInfo = LiveUserInfo(), var sequence: Long = 0, var timestampInSecond: Long = 0, var messageType: BarrageType = BarrageType.TEXT, var textContent: String = "", var extensionInfo: Map<String, String> = emptyMap(), var businessID: String = "", var data: String = "")
Barrage data model, containing complete attribute information of a single barrage.
Link copied to clipboard
data class BarrageState(val messageList: StateFlow<List<Barrage>>, allowSendMessage: StateFlow<Boolean>)
Barrage state, managing the barrage data state of the current room.
Link copied to clipboard
Barrage management class.
Link copied to clipboard
Barrage type enumeration, used to distinguish different types of barrage messages.