generateGalleryUri

Creates an export url for photos and videos leading to the gallery. It asks the user for permission if not already granted.

Parameters

activity

The activity context.

callback

The callback which is fired after the permission request.

exportFormat

The format which should be exported.

name

The name of the exported file. (Default = System.currentTimeMillis())

relativeFolderPath

The relative path of the export folder. (Default = "")

fun generateGalleryUri(activity: <ERROR CLASS>, exportFormat: ExportFormat, relativeFolderPath: String, name: String, callback: (<ERROR CLASS>?) -> Unit)
fun generateGalleryUri(activity: <ERROR CLASS>, exportFormat: ExportFormat, relativeFolderPath: String, name: String): <ERROR CLASS>?