LikeStore provides a complete set of like management APIs, including sending likes, listening to like events, and getting like states. Through this class, you can implement like interaction features in live rooms.LikeStore instance, which requires a valid live room ID.Property | Type | Description |
totalLikeCount | ValueListenable<int> | Total accumulated like count of the current live room/voice chat room, supporting real-time updates and subscription listening. |
void Function(String liveID, int totalLikesReceived, LiveUserInfo sender)? onReceiveLikesMessage;LikeListener({this.onReceiveLikesMessage});
Parameter | Type | Description |
liveID | String | Live room ID. |
totalLikesReceived | int | Number of new likes received this time. |
sender | Like sender information. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback