getBasePath

fun Context.getBasePath(): Pair<<Error class: unknown class>?, String?>(source)

Base path where downloaded things should be stored, changes depending on settings. Returns the file and a string to be stored for future file retrieval. UniFile.filePath is not sufficient for storage.