# ImageCapture.OutputFileOptions

Artifact: [androidx.camera:camera-core](https://developer.android.com/jetpack/androidx/releases/camera) [View Source](https://cs.android.com/search?q=file:androidx/camera/core/ImageCapture.java+class:androidx.camera.core.ImageCapture.OutputFileOptions) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/camera#1.0.0)

*** ** * ** ***


```
public final class ImageCapture.OutputFileOptions
```

<br />

*** ** * ** ***

Options for saving newly captured image.

this class is used to configure save location and metadata. Save location can be either a `https://developer.android.com/reference/java/io/File.html`, `https://developer.android.com/reference/android/provider/MediaStore.html` or a `https://developer.android.com/reference/java/io/OutputStream.html`. The metadata will be stored with the saved image. For JPEG this will be included in the EXIF.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/camera/core/ImageCapture.OutputFileOptions.Builder` Builder class for `https://developer.android.com/reference/androidx/camera/core/ImageCapture.OutputFileOptions`. |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/camera/core/ImageCapture.OutputFileOptions#toString()()` |

## Public methods

### toString

```
public @NonNull String toString()
```