load Existing Session
fun loadExistingSession( context: Context, sessionId: String, sessionStore: IUpstreamDao, sessionListener: SessionListener? = null, sessionUploadPartListener: SessionUploadPartListener? = null): MultiFileUploader
Content copied to clipboard
Load an existing session from its sessionId from the sessionStore. Use it to resume an upload that failed.
Remaining parts will be added to the WorkManager.
Parameters
context
The application context
session Id
The id of session
session Store
The session store
session Listener
The listener of the session events. Could be null.
session Upload Part Listener
The listener of the parts events. Could be null.