FileOutputOptions


class FileOutputOptions : OutputOptions


A class providing options for storing the result to a given file.

The file must be in a path where the application has the write permission.

To use a android.os.ParcelFileDescriptor as an output destination instead of a File, use FileDescriptorOutputOptions.

Summary

Nested types

The builder of the FileOutputOptions object.

Public functions

Boolean
equals(o: Any?)
File

Gets the File instance

Int
String

Inherited Constants

From androidx.camera.video.OutputOptions
const Int

Represents an unlimited duration.

const Int

Represents an unbound file size.

Inherited functions

From androidx.camera.video.OutputOptions
@IntRange(from = 0) Long

Gets the limit for the video duration in milliseconds.

@IntRange(from = 0) Long

Gets the limit for the file size in bytes.

Location?

Returns a Location object representing the geographic location where the video was recorded.

Public functions

equals

fun equals(o: Any?): Boolean

getFile

Added in 1.1.0
fun getFile(): File

Gets the File instance

hashCode

fun hashCode(): Int

toString

fun toString(): String