FileDescriptorOutputOptions
public final class FileDescriptorOutputOptions extends OutputOptions
| java.lang.Object | ||
| ↳ | 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 |
|---|
public final class FileDescriptorOutputOptions.BuilderThe builder of the |
Public methods |
|
|---|---|
boolean |
|
@NonNull ParcelFileDescriptor |
Gets the file descriptor instance. |
int |
hashCode() |
@NonNull String |
toString() |
Inherited Constants |
||||
|---|---|---|---|---|
|
Inherited methods |
|---|
Public methods
getParcelFileDescriptor
public @NonNull ParcelFileDescriptor getParcelFileDescriptor()
Gets the file descriptor instance.
| Returns | |
|---|---|
@NonNull ParcelFileDescriptor |
the file descriptor used as the output destination. |