LikeClient

interface LikeClient

Used to like or unlike a item. with the EchoMediaItem.isLikeable set to true.

Functions

Link copied to clipboard
abstract suspend fun isItemLiked(item: EchoMediaItem): Boolean

Checks if a item is liked.

Link copied to clipboard
abstract suspend fun likeItem(item: EchoMediaItem, shouldLike: Boolean)

Likes or unlikes a item.