VideoPreview


public final class VideoPreview


An object representing a video preview content.

Summary

Nested types

public final class VideoPreview.Builder

Builder class for VideoPreview.

Public fields

final Long

Public methods

Long

Sets the duration of the video in milliseconds.

Optional<Image>

Sets the preview image for the video content.

Public fields

durationMillis

public final Long durationMillis

Public methods

getDurationMillis

public Long getDurationMillis()

Sets the duration of the video in milliseconds.

getImage

public Optional<ImagegetImage()

Sets the preview image for the video content.