VideoMetadata

data class VideoMetadata(val startOffset: ERROR CLASS: Symbol not found for Duration?? = null, val endOffset: ERROR CLASS: Symbol not found for Duration?? = null, val fps: Double? = null)

Metadata describing how to interpret a video Part.

Constructors

Link copied to clipboard
constructor(startOffset: ERROR CLASS: Symbol not found for Duration?? = null, endOffset: ERROR CLASS: Symbol not found for Duration?? = null, fps: Double? = null)

Types

Link copied to clipboard
class Builder

Fluent builder for VideoMetadata, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val endOffset: ERROR CLASS: Symbol not found for Duration??

The end offset of the video segment to use.

Link copied to clipboard
val fps: Double?

The frame rate (frames per second) to sample the video at.

Link copied to clipboard
val startOffset: ERROR CLASS: Symbol not found for Duration??

The start offset of the video segment to use.

Functions

Link copied to clipboard

Returns endOffset in whole milliseconds, or null (its getter is mangled for Java).

Link copied to clipboard

Returns startOffset in whole milliseconds, or null (its getter is mangled for Java).