Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class VideoFrameDecoder(source: ImageSource, options: Options) : Decoder

A Decoder that uses MediaMetadataRetriever to fetch and decode a frame from a video.

Functions

Link copied to clipboard
@RequiresApi(value = 28)
fun ImageRequest.Builder.videoFrameIndex(frameIndex: Int): <Error class: unknown class>

Set the frame index to extract from a video.

Link copied to clipboard
fun ImageRequest.Builder.videoFrameMicros(frameMicros: Long): <Error class: unknown class>

Set the time in microseconds of the frame to extract from a video.

Link copied to clipboard
fun ImageRequest.Builder.videoFrameMillis(frameMillis: Long): <Error class: unknown class>

Set the time in milliseconds of the frame to extract from a video.

Link copied to clipboard
fun ImageRequest.Builder.videoFrameOption(option: Int): <Error class: unknown class>

Set the option for how to decode the video frame.

Link copied to clipboard
fun ImageRequest.Builder.videoFramePercent(framePercent: Double): <Error class: unknown class>

Set the time as a percentage of the total duration for the frame to extract from a video.