loadExistingSession

fun loadExistingSession(    context: Context,     sessionId: String,     sessionStore: IUpstreamDao,     sessionListener: SessionListener? = null,     sessionUploadPartListener: SessionUploadPartListener? = null): MultiFileUploader

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

sessionId

The id of session

sessionStore

The session store

sessionListener

The listener of the session events. Could be null.

sessionUploadPartListener

The listener of the parts events. Could be null.