toggle menu
MobileMail
androidJvm
switch theme
search in API
MobileMail
/
com.mobilemail.util
/
FileManager
File
Manager
object
FileManager
Members
Functions
get
File
Path
Link copied to clipboard
fun
getFilePath
(
context
:
Context
,
uri
:
Uri
)
:
String
save
To
Cache
Link copied to clipboard
suspend
fun
saveToCache
(
context
:
Context
,
filename
:
String
,
data
:
ByteArray
,
mimeType
:
String
=
"application/octet-stream"
)
:
Result
<
Uri
>
save
To
Downloads
Link copied to clipboard
suspend
fun
saveToDownloads
(
context
:
Context
,
filename
:
String
,
data
:
ByteArray
,
mimeType
:
String
=
"application/octet-stream"
)
:
Result
<
Uri
>