-
public final class VideoThumbnailImageDataImage request data for a video preview that should be loaded from the server thumbnail when available, and fall back to a frame extracted from the video itself when the thumbnail is missing or fails to load.
Pass an instance of this as the Coil request data (instead of a raw URL) to opt into the fallback handled by VideoThumbnailFallbackInterceptor.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringthumbnailUrlprivate final StringvideoUrl
-
Constructor Summary
Constructors Constructor Description VideoThumbnailImageData(String thumbnailUrl, String videoUrl)
-
Method Summary
Modifier and Type Method Description final StringgetThumbnailUrl()final StringgetVideoUrl()-
-
Method Detail
-
getThumbnailUrl
final String getThumbnailUrl()
-
getVideoUrl
final String getVideoUrl()
-
-
-
-