uploadMediaAndAwait

abstract suspend fun uploadMediaAndAwait(uploaderType: UploaderType, mediaIds: Set<Long> = emptySet(), mediaUris: List<Uri> = emptyList()): UploadResult

Assign media with mediaIds and mediaUris to another uploader with uploaderType that have not yet been uploaded.

Throws

SessionIsNotInitializedException

Session is not active.

The method returns control when all elements have been uploaded.