public interface

ImageCapture.OnImageSavedCallback

 androidx.camera.core.ImageCapture.OnImageSavedCallback

Overview

Listener containing callbacks for image file I/O events.

Summary

Methods
public voidonError(ImageCaptureException exception)

Called when an error occurs while attempting to save an image.

public voidonImageSaved(ImageCapture.OutputFileResults outputFileResults)

Called when an image has been successfully saved.

Methods

public void onImageSaved(ImageCapture.OutputFileResults outputFileResults)

Called when an image has been successfully saved.

public void onError(ImageCaptureException exception)

Called when an error occurs while attempting to save an image.

Parameters:

exception: An ImageCaptureException that contains the type of error, the error message and the throwable that caused it.