VideoPreview.Builder


public final class VideoPreview.Builder


Builder class for VideoPreview.

Summary

Public constructors

Public methods

VideoPreview
VideoPreview.Builder

Sets the duration of the video in milliseconds.

VideoPreview.Builder

Sets the preview image for the video content.

Public constructors

Builder

public Builder()

Public methods

build

public VideoPreview build()

setDurationMillis

@CanIgnoreReturnValue
public VideoPreview.Builder setDurationMillis(long durationMillis)

Sets the duration of the video in milliseconds.

setImage

@CanIgnoreReturnValue
public VideoPreview.Builder setImage(Image image)

Sets the preview image for the video content.