OutputOptions

public abstract class OutputOptions
extends Object

java.lang.Object
   ↳ androidx.camera.video.OutputOptions


Options for configuring output destination for generating a recording.

A PendingRecording can be generated with Recorder.prepareRecording(Context, FileDescriptorOutputOptions) for different types of output destination, such as FileOutputOptions, FileDescriptorOutputOptions and MediaStoreOutputOptions.

Summary

Constants

int FILE_SIZE_UNLIMITED

Represents an unbound file size.

Public methods

abstract long getFileSizeLimit()

Gets the limit for the file size in bytes.

Inherited methods

Constants

FILE_SIZE_UNLIMITED

public static final int FILE_SIZE_UNLIMITED

Represents an unbound file size.

Constant Value: 0 (0x00000000)

Public methods

getFileSizeLimit

public abstract long getFileSizeLimit ()

Gets the limit for the file size in bytes.

Returns
long the file size limit in bytes.