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. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan