MediaStore.Images.Media.GetBitmap(ContentResolver, Uri) 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.
Retrieves an image for the given url as a Bitmap.
[Android.Runtime.Register("getBitmap", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/graphics/Bitmap;", "")]
public static Android.Graphics.Bitmap? GetBitmap (Android.Content.ContentResolver? cr, Android.Net.Uri? url);
[<Android.Runtime.Register("getBitmap", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/graphics/Bitmap;", "")>]
static member GetBitmap : Android.Content.ContentResolver * Android.Net.Uri -> Android.Graphics.Bitmap
Parameters
The content resolver to use
- url
- Uri
The url of the image
Returns
- Attributes
Exceptions
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.