Flag

sealed class Flag(source)

Represents a flag associated with a URL.

See also

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
data class Expires(val expiresOn: Long) : Flag

Indicates that the URL expires at a specific time.

Link copied to clipboard
data object IPLocked : Flag

Indicates that the URL is locked to a specific IP address.

Link copied to clipboard
data class RequiresAuth(val customHeaders: Map<String, String>?) : Flag

Indicates that the URL requires authentication.

Link copied to clipboard
data class Trusted(val name: String, val logo: String? = null, val description: String? = null, val rating: Double? = null, val url: String? = null, val category: String? = null, val contact: String? = null) : Flag

Indicates that the media link comes from a trusted and reputable provider.