MediaStore.Images.Thumbnails.GetThumbnail Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetThumbnail(ContentResolver, Int64, ThumbnailKind, BitmapFactory+Options) |
This method checks if the thumbnails of the specified image (origId) has been created. |
GetThumbnail(ContentResolver, Int64, Int64, ThumbnailKind, BitmapFactory+Options) |
This method checks if the thumbnails of the specified image (origId) has been created. |
GetThumbnail(ContentResolver, Int64, ThumbnailKind, 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 imageId, Android.Provider.ThumbnailKind 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.ThumbnailKind * Android.Graphics.BitmapFactory.Options -> Android.Graphics.Bitmap
Parameters
ContentResolver used to dispatch queries to MediaProvider.
- imageId
- Int64
- kind
- ThumbnailKind
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, Int64, ThumbnailKind, 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 imageId, long groupId, Android.Provider.ThumbnailKind 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.ThumbnailKind * Android.Graphics.BitmapFactory.Options -> Android.Graphics.Bitmap
Parameters
ContentResolver used to dispatch queries to MediaProvider.
- imageId
- Int64
- groupId
- Int64
the id of group to which this request belongs
- kind
- ThumbnailKind
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.