Package-level declarations

Types

Link copied to clipboard
data class Gift(val giftID: String = "", val name: String = "", val desc: String = "", val iconURL: String = "", val resourceURL: String = "", val level: Long = 0, val coins: Long = 0, val extensionInfo: Map<String, String> = emptyMap())

Gift data model, containing complete attribute information of a single gift.

Link copied to clipboard
data class GiftCategory(val categoryID: String = "", val name: String = "", val desc: String = "", val extensionInfo: Map<String, String> = emptyMap(), val giftList: List<Gift> = emptyList())

Gift category.

Link copied to clipboard
abstract class GiftListener

Gift event, used to receive gift dynamics in live rooms/voice chat rooms.

Link copied to clipboard
data class GiftState(val usableGifts: StateFlow<List<GiftCategory>>)

Gift state, managing the gift data state of the current room, supporting real-time updates and subscription listening.

Link copied to clipboard
abstract class GiftStore

Gift management class, used to handle gift-related business logic in live rooms/voice chat rooms.