public class

LocalVideoThumbnailProducer

extends Object
implements Producer<T>
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.LocalVideoThumbnailProducer

Class Overview

A producer that creates video thumbnails.

At present, these thumbnails are created on the java heap rather than being pinned purgeables. This is deemed okay as the thumbnails are only very small.

Summary

Constants
String PRODUCER_NAME
Public Constructors
LocalVideoThumbnailProducer(Executor executor, ContentResolver contentResolver)
Public Methods
void produceResults(Consumer<CloseableReference<CloseableImage>> consumer, ProducerContext producerContext)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.producers.Producer

Constants

public static final String PRODUCER_NAME

Constant Value: "VideoThumbnailProducer"

Public Constructors

public LocalVideoThumbnailProducer (Executor executor, ContentResolver contentResolver)

Public Methods

public void produceResults (Consumer<CloseableReference<CloseableImage>> consumer, ProducerContext producerContext)