VideoPreview.Builder


class VideoPreview.Builder


Builder class for VideoPreview.

Summary

Public constructors

Public functions

VideoPreview!
VideoPreview.Builder!

Sets the duration of the video in milliseconds.

VideoPreview.Builder!

Sets the preview image for the video content.

Public constructors

Builder

Builder()

Public functions

build

fun build(): VideoPreview!

setDurationMillis

@CanIgnoreReturnValue
fun setDurationMillis(durationMillis: Long): VideoPreview.Builder!

Sets the duration of the video in milliseconds.

setImage

@CanIgnoreReturnValue
fun setImage(image: Image!): VideoPreview.Builder!

Sets the preview image for the video content.