createTemporaryFile
open fun createTemporaryFile(@NonNull context: Context, @NonNull fileName: String, @Nullable fileExtension: String): Uri
Creates temporary file and returns its Uri.
Return
Uri to created temporary file. Returns null when temporary file could not be created.
Parameters
context
The context to use.
fileName
Name of the created temp file.
fileExtension
Optional extension of the created temp file.