The second Android 11 Developer Preview is now available, test it out and share your feedback.

ImageCapture.OutputFileOptions

public static final class ImageCapture.OutputFileOptions
extends Object

java.lang.Object
   ↳ androidx.camera.core.ImageCapture.OutputFileOptions


Options for saving newly captured image.

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

Summary

Nested classes

class ImageCapture.OutputFileOptions.Builder

Builder class for ImageCapture.OutputFileOptions

Inherited methods