gsdsdk / com.gsd.software.sdk.fileservice.service / FileService
abstract class FileService :
Service
,
FileTaskListener
Created by jmielczarek on 14/09/2020
Name | Summary |
---|---|
<init> | FileService() Created by jmielczarek on 14/09/2020 |
Name | Summary |
---|---|
fileTaskProvider | abstract val fileTaskProvider: FileTaskProvider |
fileTasksCache | abstract val fileTasksCache: FileTasksCache |
notification | abstract val notification: FileServiceNotification |
Name | Summary |
---|---|
onBind | open fun onBind(intent: Intent ?): IBinder ? |
onCancel | open fun onCancel(fileInfo: FileInfo , notificationId: Int ): Unit |
onCreate | open fun onCreate(): Unit |
onError | open fun onError(fileInfo: FileInfo , notificationId: Int ): Unit |
onProgress | open fun onProgress(fileInfo: FileInfo , notificationId: Int ): Unit |
onRetry | open fun onRetry(fileInfo: FileInfo , notificationId: Int ): Unit |
onStart | open fun onStart(fileInfo: FileInfo , notificationId: Int ): Unit |
onStartCommand | open fun onStartCommand(intent: Intent ?, flags: Int , startId: Int ): Int |
onSuccess | open fun onSuccess(fileInfo: FileInfo , notificationId: Int ): Unit |
onSuspend | open fun onSuspend(fileInfo: FileInfo , notificationId: Int ): Unit |
setFileTaskListener | fun setFileTaskListener(fileTaskListener: FileTaskListener ): Unit |
Name | Summary |
---|---|
CANCEL_TASK_ACTION | const val CANCEL_TASK_ACTION: String |
CANCEL_TASK_ID_KEY | const val CANCEL_TASK_ID_KEY: String |
SCHEDULE_TASK_ACTION | const val SCHEDULE_TASK_ACTION: String |