FollowClient

interface FollowClient

Used to allow following and unfollowing an EchoMediaItem with the EchoMediaItem.isFollowable set to true.

See also

Functions

Link copied to clipboard
abstract suspend fun followItem(item: EchoMediaItem, shouldFollow: Boolean)

Follows/Unfollow an Item. This will only be called if the EchoMediaItem.isFollowable is true.

Link copied to clipboard
abstract suspend fun getFollowersCount(item: EchoMediaItem): Long?

Gets the followers count of an item. This will only be called if the EchoMediaItem.isFollowable is true.

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

Checks if an item is followed. This will only be called if the EchoMediaItem.isFollowable is true.