ProviderData

@Serializable
data class ProviderData(val authors: List<Author>, val repositoryUrl: String?, val buildUrl: String?, val changelog: String? = null, val versionName: String, val versionCode: Long, val adult: Boolean = false, val description: String?, val iconUrl: String?, val language: Language, val name: String, val providerType: ProviderType, val status: Status)(source)

Deprecated

Use ProviderMetadata instead

Replace with

ProviderMetadata

Represents the data associated with a provider.

See also

Constructors

Link copied to clipboard
constructor(authors: List<Author>, repositoryUrl: String?, buildUrl: String?, changelog: String? = null, versionName: String, versionCode: Long, adult: Boolean = false, description: String?, iconUrl: String?, language: Language, name: String, providerType: ProviderType, status: Status)

Properties

Link copied to clipboard
val adult: Boolean = false

Whether the provider is considered adult-only.

Link copied to clipboard

The list of Authors who contributed to the provider.

Link copied to clipboard

The URL for downloading the provider build.

Link copied to clipboard
val changelog: String? = null

The changelog of the provider, if available. Supports Markdown.

Link copied to clipboard

The description of the provider. Supports Markdown.

Link copied to clipboard

The URL to the icon/image associated with the provider, if available.

Link copied to clipboard
val id: String

The unique identifier for the provider. It can be optionally set but if none is given it defaults to generateHash

Link copied to clipboard

The primary Language supported by this provider.

Link copied to clipboard

The name of the provider.

Link copied to clipboard

The ProviderType of the provider.

Link copied to clipboard

The main repository URL of the provider, if available.

Link copied to clipboard

The Status of the provider.

Link copied to clipboard

The version code of the provider.

Link copied to clipboard

The version name of the provider.