Class of android.media · ThumbnailUtils.java · Android's reference
public class ThumbnailUtils
Thumbnails of media files. No video decoder is here, so no video gives a frame.
public static final int OPTIONS_RECYCLE_INPUT = 2 sourcepublic ThumbnailUtils() empty body sourcepublic static Bitmap createVideoThumbnail(String filePath, int kind) deprecated sourcepublic static Bitmap createVideoThumbnail(File file, Size size, CancellationSignal signal) throws IOException sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.