LiveLikeReactionSession

Properties

Link copied to clipboard
abstract val addUserReactionFlow: Flow<UserReaction>
Link copied to clipboard

Callback to ensure the setup is completed

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun addUserReaction(targetId: String, reactionId: String, customData: String? = null, liveLikeCallback: LiveLikeCallback<UserReaction>)

Add a user reaction.

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun getReactionPacks(liveLikeCallback: LiveLikeCallback<List<ReactionPack>>)

Get reaction packs.

Link copied to clipboard
abstract fun getUserReactions(liveLikePagination: LiveLikePagination, targetId: String? = null, reactionId: String? = null, reactionById: String? = null, relationshipType: String? = null, relationshipFromProfileId: String? = null, liveLikeCallback: LiveLikeCallback<List<UserReaction>>)

Get user reactions.

Link copied to clipboard
abstract fun getUserReactionsCount(targetIds: List<String>, liveLikePagination: LiveLikePagination, reactedById: String? = null, relationshipType: String? = null, relationshipFromProfileId: String? = null, liveLikeCallback: LiveLikeCallback<List<TargetUserReactionCount>>)

Get the count of user reactions.

Link copied to clipboard
abstract fun removeUserReaction(userReactionId: String, liveLikeCallback: LiveLikeCallback<LiveLikeEmptyResponse>)
abstract fun removeUserReaction(userReactionId: String, userReaction: UserReaction? = null, liveLikeCallback: LiveLikeCallback<LiveLikeEmptyResponse>)

Remove a user reaction.

Link copied to clipboard
abstract fun subscribeToReactionSpaceDelegate(key: String, reactionSpaceDelegate: ReactionSpaceDelegate)

Subscribe to a ReactionSpaceDelegate.

Link copied to clipboard
abstract fun subscribeToUserReactionDelegate(key: String, userReactionDelegate: UserReactionDelegate)

Subscribe to a UserReactionDelegate.

Link copied to clipboard

Unsubscribe from a ReactionSpaceDelegate.

Link copied to clipboard

Unsubscribe from a UserReactionDelegate.