Catalog

@Serializable
abstract class Catalog : Serializable(source)

An abstract class that represents a catalog, similar to ascrollable row of films in streaming sites.

The catalog contains information about its name, URL, image, and pagination capabilities.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val canPaginate: Boolean

Indicates whether the catalog supports pagination.

Link copied to clipboard
abstract val image: String?

An optional image associated with the catalog, typically used for visual representation.

Link copied to clipboard
open val mediaType: String

Represents the media type for the catalog. By default, this returns DEFAULT_CATALOG_MEDIA_TYPE, which is "all". Override this in subclasses to specify a different media type.

Link copied to clipboard
abstract val name: String

The name of the catalog.

Link copied to clipboard
abstract val url: String

The URL for accessing the catalog.