public final class

ImageCapture.OutputFileOptions

extends java.lang.Object

 java.lang.Object

↳androidx.camera.core.ImageCapture.OutputFileOptions

Overview

Options for saving newly captured image.

this class is used to configure save location and metadata. Save location can be either a java.io.File, or a java.io.OutputStream. The metadata will be stored with the saved image. For JPEG this will be included in the EXIF.

Summary

Methods
public ContentResolvergetContentResolver()

public ContentValuesgetContentValues()

public java.io.FilegetFile()

public ImageCapture.MetadatagetMetadata()

Exposed internally so that CameraController can overwrite the flip horizontal flag for front camera.

public java.io.OutputStreamgetOutputStream()

public UrigetSaveCollection()

public java.lang.StringtoString()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Methods

public java.io.File getFile()

public ContentResolver getContentResolver()

public Uri getSaveCollection()

public ContentValues getContentValues()

public java.io.OutputStream getOutputStream()

public ImageCapture.Metadata getMetadata()

Exposed internally so that CameraController can overwrite the flip horizontal flag for front camera. External core API users shouldn't need this because they are the ones who created the ImageCapture.Metadata.

public java.lang.String toString()