public interface

VideoCapture.OnVideoSavedCallback

 androidx.camera.core.VideoCapture.OnVideoSavedCallback

Overview

Listener containing callbacks for video file I/O events.

Summary

Methods
public voidonError(int videoCaptureError, java.lang.String message, java.lang.Throwable cause)

Called when an error occurs while attempting to save the video.

public voidonVideoSaved(VideoCapture.OutputFileResults outputFileResults)

Called when the video has been successfully saved.

Methods

public void onVideoSaved(VideoCapture.OutputFileResults outputFileResults)

Called when the video has been successfully saved.

public void onError(int videoCaptureError, java.lang.String message, java.lang.Throwable cause)

Called when an error occurs while attempting to save the video.