Media: clean up code
This commit is contained in:
parent
730f50a433
commit
e3457fb594
5 changed files with 8 additions and 9 deletions
|
|
@ -33,7 +33,8 @@ interface MatrixMediaLoader {
|
|||
|
||||
/**
|
||||
* @param source to fetch the data for.
|
||||
* @param mimeType: optional mime type
|
||||
* @param mimeType: optional mime type.
|
||||
* @param body: optional body which will be used to name the file.
|
||||
* @return a [Result] of [MediaFile]
|
||||
*/
|
||||
suspend fun downloadMediaFile(source: MediaSource, mimeType: String?, body: String?): Result<MediaFile>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue