main.com.sceyt.chatuikit.persistence.file_transfer.FileTransferService.kt Maven / Gradle / Ivy
package com.sceyt.chatuikit.persistence.file_transfer
import com.sceyt.chatuikit.data.models.messages.SceytAttachment
import java.util.concurrent.ConcurrentHashMap
interface FileTransferService : FileTransferListeners.Listeners {
fun setCustomListener(fileTransferListeners: FileTransferListeners.Listeners)
fun findOrCreateTransferTask(attachment: SceytAttachment): TransferTask
fun findTransferTask(attachment: SceytAttachment): TransferTask?
fun getTasks(): ConcurrentHashMap
fun clearPreparingThumbPaths()
}