FileDescriptorOutputOptions
class FileDescriptorOutputOptions : OutputOptions
| kotlin.Any | ||
| ↳ | androidx.camera.video.OutputOptions | |
| ↳ | androidx.camera.video.FileDescriptorOutputOptions |
A class providing options for storing the result to a given file descriptor.
The file descriptor must be seekable and writable. The caller is responsible for closing the file descriptor, which can be safely closed after the recording starts. That is, after start returns. Application should not use the file referenced by this file descriptor until the recording is complete.
To use a java.io.File as an output destination instead of a file descriptor, use FileOutputOptions.
Summary
Nested types |
|---|
|
The builder of the |
Public functions |
|
|---|---|
Boolean |
|
ParcelFileDescriptor |
Gets the file descriptor instance. |
Int |
hashCode() |
String |
toString() |
Inherited Constants |
|---|
Inherited functions |
|---|
Public functions
getParcelFileDescriptor
fun getParcelFileDescriptor(): ParcelFileDescriptor
Gets the file descriptor instance.
| Returns | |
|---|---|
ParcelFileDescriptor |
the file descriptor used as the output destination. |