AmityFileRepository

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun cancelUpload(uploadId: String)
Link copied to clipboard
fun deleteFile(fileId: String): Completable
Link copied to clipboard
fun getFile(fileId: String): Single<AmityRawFile>
Link copied to clipboard
fun getUploadInfo(uploadId: String): Flowable<AmityUploadInfo>
Link copied to clipboard
fun uploadAudio(uploadId: String, uri: Uri): Flowable<AmityUploadResult<AmityAudio>>
Link copied to clipboard
fun uploadFile(uploadId: String, uri: Uri): Flowable<AmityUploadResult<AmityFile>>
Link copied to clipboard
fun uploadImage(uploadId: String, uri: Uri): Flowable<AmityUploadResult<AmityImage>>
Link copied to clipboard
fun uploadVideo(uri: Uri, contentFeedType: AmityContentFeedType): Flowable<AmityUploadResult<AmityVideo>>
fun uploadVideo(uploadId: String, uri: Uri, contentFeedType: AmityContentFeedType): Flowable<AmityUploadResult<AmityVideo>>