Package-level declarations

Types

Link copied to clipboard
data class DownloadProperties(var maxDownloadTasks: Int = DEFAULT_MAX_DOWNLOAD_TASKS, var maxParallelDownloads: Int = DownloadManager.DEFAULT_MAX_PARALLEL_DOWNLOADS, var minRetryCount: Int = DownloadManager.DEFAULT_MIN_RETRY_COUNT, var requirements: List<DownloadRequirements> = DEFAULT_DOWNLOAD_REQUIREMENTS, var downloadsAutoPurgeOnExpiry: Boolean = false)
Link copied to clipboard
data class DownloadRequest(val mediaURL: String, val mediaType: MediaType, val drmLicenseURL: String?, val drmScheme: DRMScheme, val downloadStreamPreference: DownloadStreamPreference, val metadata: String, val id: String = mediaURL, val expiration: Long, val playbackExpiryDuration: Long)

Represents the incoming download request.

Link copied to clipboard

Represents all possible requirements for configuring downloads.

Link copied to clipboard

Represents the state for the Download asset.

Link copied to clipboard
data class DownloadStreamPreference(val preferredVideoVariant: TrackVariantInfo = TrackVariantInfo.videoBuilder().bitRate(BITRATE_UNKNOWN).build(), val preferredAudioVariants: Array<TrackVariantInfo> = emptyArray(), val preferredTextVariants: Array<TrackVariantInfo> = emptyArray())

Download stream preferred variants.

Link copied to clipboard
data class LicenseInfo(val remainingLicenseDurationInSec: Long, val remainingPlaybackDurationInSec: Long)

License Information of a particular com.quickplay.vstb7.player.offline.Download.