StorageUtils

object StorageUtils

Functions

determineFilePath
Link copied to clipboard

Returns the path of a given uri. (Can be a file, content and document uri)

fun determineFilePath(context: <ERROR CLASS>, uri: <ERROR CLASS>): String?
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
generateGalleryUri
Link copied to clipboard
fun generateGalleryUri(activity: <ERROR CLASS>, exportFormat: ExportFormat, relativeFolderPath: String, name: String): <ERROR CLASS>?

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

fun generateGalleryUri(activity: <ERROR CLASS>, exportFormat: ExportFormat, relativeFolderPath: String, name: String, callback: (<ERROR CLASS>?) -> Unit)
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String