DefaultCollectionPolicy

The default collection policy.

Constructors

Link copied to clipboard

Inherited functions

Link copied to clipboard

Returns a BrowserAction to follow mediaItem as a collection, if mediaItem supports following, and null otherwise.

Link copied to clipboard

Returns an icon for the follow collection button, if mediaItem supports following, and null otherwise.

Link copied to clipboard

Returns a BrowserAction that can be used to determine if mediaItem is a followed collection. If mediaItem doesn't support the following action returns null.

Link copied to clipboard

Returns a BrowserAction to unfollow mediaItem as a collection, if mediaItem supports following, and null otherwise.

Link copied to clipboard
open fun isCollection(mediaItem: IviMediaItem): Boolean

Determines if a mediaItem is a collection. This can be used to open the collection panel instead of a normal browsing panel.