LikeState

data class LikeState(val totalLikeCount: StateFlow<Long>)

Like state, used to display and subscribe to like information in live rooms/voice chat rooms.

Overview

Contains the total accumulated like count of the current live room/voice chat room, supporting real-time updates.

State Property Overview

PropertyTypeDescription
totalLikeCountStateFlow<Long>Total accumulated like count of the current room

Tip: Like count updates automatically. Subscribe to likeState to receive real-time updates.

Constructors

Link copied to clipboard
constructor(totalLikeCount: StateFlow<Long>)

Properties

Link copied to clipboard
val totalLikeCount: StateFlow<Long>

Total accumulated like count of the current live room/voice chat room, supporting real-time updates and subscription listening.