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

OutputFileOptions

class OutputFileOptions
kotlin.Any
   ↳ 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

Builder class for OutputFileOptions.