public final class

FileOutputOptions.Builder

extends androidx.camera.video.OutputOptions.Builder<FileOutputOptions, FileOutputOptions.Builder>

 java.lang.Object

↳androidx.camera.video.OutputOptions.Builder<FileOutputOptions, FileOutputOptions.Builder>

↳androidx.camera.video.FileOutputOptions.Builder

Overview

The builder of the FileOutputOptions object.

Summary

Constructors
publicBuilder(java.io.File file)

Creates a builder of the FileOutputOptions with a file object.

Methods
public FileOutputOptionsbuild()

Builds the FileOutputOptions instance.

from androidx.camera.video.OutputOptions.Builder<T, B>setDurationLimitMillis, setFileSizeLimit, setLocation
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(java.io.File file)

Creates a builder of the FileOutputOptions with a file object.

The file object can be created with a path using the java.io.File APIs. The path must be seekable and writable.

Parameters:

file: the file object.

See also: java.io.File

Methods

public FileOutputOptions build()

Builds the FileOutputOptions instance.