setOutputToGallery

Creates a uri to save the export output in the corresponding gallery.

Parameters

folder

The folder you want to export to.

name

The name of the file can have SimpleDateFormat patterns like img_<yyyy_MM_dd_HH_mm_ss> the angled brackets are replaced with the result of SimpleDateFormat("yyyy_MM_dd_HH_mm_ss", Locale.US).format(Date()) The default locale is Locale.US you can change it to the device locale by set the static variable AbstractSaveSettings.locale = Locale.getDefault().

fun setOutputToGallery(folder: String, name: String?)