create Temporary File
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.
file Name
Name of the created temp file.
file Extension
Optional extension of the created temp file.