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

*** ** * ** ***


```
public class ImageCapture.OutputFileResults
```

<br />

*** ** * ** ***

Info about the saved image file.

## Summary

| ### Public methods |
|---|---|
| `int` | `https://developer.android.com/reference/androidx/camera/core/ImageCapture.OutputFileResults#getImageFormat()()` Returns the `https://developer.android.com/reference/android/graphics/ImageFormat.html` of the saved file. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/net/Uri.html` | `https://developer.android.com/reference/androidx/camera/core/ImageCapture.OutputFileResults#getSavedUri()()` Returns the `https://developer.android.com/reference/android/net/Uri.html` of the saved file. |

## Public methods

### getImageFormat

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

```
public int getImageFormat()
```

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)

```
public @Nullable Uri getSavedUri()
```

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

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