LikeStore class abstract
Like management class, used to handle like-related business logic in live rooms/voice chat rooms.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- likeState → LikeState
-
Like state subscription for the current room, containing information such as accumulated like count. By subscribing to this state, you can get real-time updates of like data in the room. {@link LikeState}
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addLikeListener(
LikeListener listener) → void - Like event publisher, through which you can subscribe/remove like events in live rooms/voice chat rooms. After subscription, you will receive corresponding notifications when audiences send likes. {@link LikeListener}
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeLikeListener(
LikeListener listener) → void -
sendLike(
int count) → Future< CompletionHandler> - Send likes to the current room. All users who have subscribed to like events will receive this like notification.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited