GiftState

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.

Overview

Contains all gift categories and gift lists available in the current room, supporting real-time updates.

PropertyTypeDescription
usableGiftsStateFlow<List<GiftCategory>>All gift categories and gift lists available in the current room

Tip: Gift state is automatically updated. Subscribe to giftState to receive real-time updates.

Constructors

Link copied to clipboard
constructor(usableGifts: StateFlow<List<GiftCategory>>)

Properties

Link copied to clipboard
val usableGifts: StateFlow<List<GiftCategory>>

All gift categories and gift lists available in the current room.