Video

class Video

Represents a video with full detail.

Parameters

id

unique identifier of the video

createdAt

video creation date

createdBy

video publisher name

modifiedAt

last modification date (if available)

modifiedBy

last modified by (if available)

publicationId

identifier of the publication owning or distributing this video

releaseDate

date at which the video was published or made available

title

display title

externalId

video external id

summary

summary (if available)

format

the shape the video was produced in — see VideoFormat

creators

creators of video

language

video language

tags

video tags

width

video width

height

video height

duration

video duration

isOnline

video is available

coverUrl

URL to the video's thumbnail image

sponsored

is video sponsored

ingestionPipelineVersion

pipeline ingestion version

Types

Link copied to clipboard

The shape a video was produced in, which is what decides how it should be presented.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
val id: VideoId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Structural: equal when every property is equal.

Link copied to clipboard
open override fun hashCode(): Int

Consistent with equals.

Link copied to clipboard
open override fun toString(): String

Every property, for logs and crash reports.