# ImageCapture.OutputFileResults

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.OutputFileResults) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/camera#1.0.0)

*** ** * ** ***


```
class ImageCapture.OutputFileResults
```

<br />

*** ** * ** ***

Info about the saved image file.

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/camera/core/ImageCapture.OutputFileResults#getImageFormat()()` Returns the `https://developer.android.com/reference/android/graphics/ImageFormat.html` of the saved file. |
| `https://developer.android.com/reference/android/net/Uri.html?` | `https://developer.android.com/reference/kotlin/androidx/camera/core/ImageCapture.OutputFileResults#getSavedUri()()` Returns the `https://developer.android.com/reference/android/net/Uri.html` of the saved file. |

## Public functions

### getImageFormat

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/camera#1.5.0)

```
fun getImageFormat(): Int
```

Returns the `https://developer.android.com/reference/android/graphics/ImageFormat.html` of the saved file.

### getSavedUri

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/camera#1.0.0)

```
fun getSavedUri(): Uri?
```

Returns the `https://developer.android.com/reference/android/net/Uri.html` of the saved file.

Returns null if the `https://developer.android.com/reference/kotlin/androidx/camera/core/ImageCapture.OutputFileOptions` is constructed with `https://developer.android.com/reference/kotlin/androidx/camera/core/ImageCapture.OutputFileOptions.Builder`.