SendbirdUIKit
3.22.0
SendbirdUIKit
/
com.sendbird.uikit.model
/
FileInfo
/
Companion
Companion
object
Companion
Functions
Functions
from
Uri
Link copied to clipboard
@
JvmStatic
fun
fromUri
(
context
:
Context
,
uri
:
Uri
,
useImageCompression
:
Boolean
,
handler
:
OnResultHandler
<
FileInfo
>
?
)
:
Future
<
FileInfo
>
from
Uris
Link copied to clipboard
@
JvmStatic
fun
fromUris
(
context
:
Context
,
uris
:
List
<
Uri
>
,
useImageCompression
:
Boolean
,
handler
:
OnResultHandler
<
List
<
FileInfo
?
>
>
?
)
:
Future
<
List
<
FileInfo
?
>
>
from
Voice
File
Info
Link copied to clipboard
@
JvmStatic
fun
fromVoiceFileInfo
(
voiceMessageInfo
:
VoiceMessageInfo
,
cacheDir
:
File
)
:
FileInfo
to
Multiple
Files
Params
Link copied to clipboard
@
JvmStatic
fun
toMultipleFilesParams
(
fileInfos
:
List
<
FileInfo
>
)
:
MultipleFilesMessageCreateParams
uri
To
File
Info
Link copied to clipboard
@
JvmStatic
@
WorkerThread
fun
uriToFileInfo
(
context
:
Context
,
uri
:
Uri
,
useImageCompression
:
Boolean
)
:
FileInfo
?