UpstreamSessionEntity

data class UpstreamSessionEntity(    val id: String,     val videoId: String?,     val token: String?,     val parts: List<Part>)

The entity of the MultiFileUploader in the storage.

Constructors

Link copied to clipboard
fun UpstreamSessionEntity(    id: String,     videoId: String?,     token: String?,     parts: List<Part>)

Properties

Link copied to clipboard
val hasParts: Boolean

Whether the session has remaining parts to upload.

Link copied to clipboard
val id: String
Link copied to clipboard
val lastPart: Part?

The last part of the session.

Link copied to clipboard
val parts: List<Part>
Link copied to clipboard
val token: String?
Link copied to clipboard
val videoId: String?

Extensions

Link copied to clipboard
fun UpstreamSessionEntity.writeToDisk(directory: File)

Writes the session to disk.