# 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)

*** ** * ** ***


```
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 |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/camera/core/ImageCapture.OutputFileOptions.Builder` Builder class for `https://developer.android.com/reference/kotlin/androidx/camera/core/ImageCapture.OutputFileOptions`. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/camera/core/ImageCapture.OutputFileOptions#toString()()` |

## Public functions

### toString

```
fun toString(): String
```