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 | UInt | Total accumulated like count of the current live room/voice chat room, supporting real-time updates and subscription listening. |
case onReceiveLikesMessage(liveID: String, totalLikesReceived: UInt, sender: LiveUserInfo)
Parameter | Type | Description |
liveID | String | Live room ID. |
totalLikesReceived | UInt | Number of new likes received this time. |
sender | Like sender information. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários