PreviewGenerator

PreviewGenerator that hides the implementation details of the sub generators that is used, used for source switch cache

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override var durationMs: Long
Link copied to clipboard
open override var loadedImages: Int
Link copied to clipboard
open override var params: ImageParams

Functions

Link copied to clipboard
fun clear(keepCache: Boolean)
Link copied to clipboard
open override fun getPreviewImage(fraction: Float): Bitmap?
Link copied to clipboard
open override fun hasPreview(): Boolean
Link copied to clipboard
fun load(link: ExtractorLink, keepCache: Boolean)
fun load(context: Context, link: ExtractorUri, keepCache: Boolean)
Link copied to clipboard
open override fun release()