Android 12 Developer Preview is here! Try it out, and give us your feedback!

OutputFileResults

abstract class OutputFileResults
kotlin.Any
   ↳ androidx.camera.view.video.OutputFileResults

Info about the saved video file.

Summary

Public methods
abstract Uri?

Returns the Uri of the saved video file.

Public methods

getSavedUri

@Nullable abstract fun getSavedUri(): Uri?

Returns the Uri of the saved video file.

Return
Uri? URI of saved video file if the OutputFileOptions is backed by MediaStore using OutputFileOptions#builder(ContentResolver, Uri, ContentValues), null otherwise.