MediaStore.Video.Thumbnails.GetThumbnail Method

Definition

Overloads

GetThumbnail(ContentResolver, Int64, Int64, VideoThumbnailKind, BitmapFactory+Options)

This method checks if the thumbnails of the specified image (origId) has been created.

GetThumbnail(ContentResolver, Int64, VideoThumbnailKind, BitmapFactory+Options)

This method checks if the thumbnails of the specified image (origId) has been created.

GetThumbnail(ContentResolver, Int64, Int64, VideoThumbnailKind, BitmapFactory+Options)

This method checks if the thumbnails of the specified image (origId) has been created.

[Android.Runtime.Register("getThumbnail", "(Landroid/content/ContentResolver;JJILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")]
public static Android.Graphics.Bitmap? GetThumbnail (Android.Content.ContentResolver? cr, long videoId, long groupId, Android.Provider.VideoThumbnailKind kind, Android.Graphics.BitmapFactory.Options? options);
[<Android.Runtime.Register("getThumbnail", "(Landroid/content/ContentResolver;JJILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")>]
static member GetThumbnail : Android.Content.ContentResolver * int64 * int64 * Android.Provider.VideoThumbnailKind * Android.Graphics.BitmapFactory.Options -> Android.Graphics.Bitmap

Parameters

cr
ContentResolver

ContentResolver used to dispatch queries to MediaProvider.

videoId
Int64
groupId
Int64

the id of group to which this request belongs

kind
VideoThumbnailKind

The type of thumbnail to fetch. Should be either MINI_KIND or MICRO_KIND

options
BitmapFactory.Options

this is only used for MINI_KIND when decoding the Bitmap

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetThumbnail(ContentResolver, Int64, VideoThumbnailKind, BitmapFactory+Options)

This method checks if the thumbnails of the specified image (origId) has been created.

[Android.Runtime.Register("getThumbnail", "(Landroid/content/ContentResolver;JILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")]
public static Android.Graphics.Bitmap? GetThumbnail (Android.Content.ContentResolver? cr, long videoId, Android.Provider.VideoThumbnailKind kind, Android.Graphics.BitmapFactory.Options? options);
[<Android.Runtime.Register("getThumbnail", "(Landroid/content/ContentResolver;JILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")>]
static member GetThumbnail : Android.Content.ContentResolver * int64 * Android.Provider.VideoThumbnailKind * Android.Graphics.BitmapFactory.Options -> Android.Graphics.Bitmap

Parameters

cr
ContentResolver

ContentResolver used to dispatch queries to MediaProvider.

videoId
Int64
kind
VideoThumbnailKind

The type of thumbnail to fetch. Should be either MINI_KIND or MICRO_KIND.

options
BitmapFactory.Options

this is only used for MINI_KIND when decoding the Bitmap

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to