2021-05-06 22:57:47 +02:00
|
|
|
package sushi.hardcore.aira.background_service
|
|
|
|
|
|
|
|
import android.content.Context
|
|
|
|
import androidx.core.app.NotificationManagerCompat
|
|
|
|
|
|
|
|
class FilesSender(
|
|
|
|
val files: List<SendFile>,
|
|
|
|
context: Context,
|
|
|
|
notificationManager: NotificationManagerCompat,
|
2021-05-30 17:16:52 +02:00
|
|
|
): FilesTransfer(context, notificationManager, files.size) {
|
2021-05-06 22:57:47 +02:00
|
|
|
val lastChunkSizes = mutableListOf<Int>()
|
|
|
|
var nextChunk: ByteArray? = null
|
|
|
|
val msgQueue = mutableListOf<ByteArray>()
|
|
|
|
}
|