Video

@Serializable
data class Video(val url: String, val title: String, val description: String, val authorName: String? = null, val authorUrl: String? = null, val providerName: String? = null, val providerUrl: String? = null, val html: String? = null, val width: Long? = null, val height: Long? = null, val image: String? = null, val embedUrl: String? = null, val blurHash: String? = null) : Card

Constructors

Link copied to clipboard
constructor(url: String, title: String, description: String, authorName: String? = null, authorUrl: String? = null, providerName: String? = null, providerUrl: String? = null, html: String? = null, width: Long? = null, height: Long? = null, image: String? = null, embedUrl: String? = null, blurHash: String? = null)

Properties

Link copied to clipboard
open override val authorName: String? = null

The author of the original resource.

Link copied to clipboard
open override val authorUrl: String? = null

URL to the author of the original resource.

Link copied to clipboard
open override val blurHash: String? = null

A hash computed by the BlurHash algorithm.

Link copied to clipboard
open override val description: String

Description of preview.

Link copied to clipboard
open override val embedUrl: String? = null

URL used for photo embeds, instead of custom HTML.

Link copied to clipboard
open override val height: Long? = null

Height of preview, in pixels.

Link copied to clipboard
open override val html: String? = null

HTML to be used for generating the preview card.

Link copied to clipboard
open override val image: String? = null

URL of a preview thumbnail.

Link copied to clipboard
open override val providerName: String? = null

The provider of the original resource.

Link copied to clipboard
open override val providerUrl: String? = null

URL to the provider of the original resource.

Link copied to clipboard
open override val title: String

Title of linked resource.

Link copied to clipboard
open override val url: String

URL of linked resource.

Link copied to clipboard
open override val width: Long? = null

Width of preview, in pixels.