Share via


MediaMetadataEditor.GetBitmap(MediaMetadataEditKey, Bitmap) Method

Definition

Caution

deprecated

Returns the Bitmap value for the key.

[Android.Runtime.Register("getBitmap", "(ILandroid/graphics/Bitmap;)Landroid/graphics/Bitmap;", "GetGetBitmap_ILandroid_graphics_Bitmap_Handler")]
[System.Obsolete("deprecated")]
public virtual Android.Graphics.Bitmap? GetBitmap (Android.Media.MediaMetadataEditKey key, Android.Graphics.Bitmap? defaultValue);
[<Android.Runtime.Register("getBitmap", "(ILandroid/graphics/Bitmap;)Landroid/graphics/Bitmap;", "GetGetBitmap_ILandroid_graphics_Bitmap_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member GetBitmap : Android.Media.MediaMetadataEditKey * Android.Graphics.Bitmap -> Android.Graphics.Bitmap
override this.GetBitmap : Android.Media.MediaMetadataEditKey * Android.Graphics.Bitmap -> Android.Graphics.Bitmap

Parameters

key
MediaMetadataEditKey

the #BITMAP_KEY_ARTWORK key

defaultValue
Bitmap

the value returned if the key is not present

Returns

the Bitmap value for the key, or the supplied default value if the key is not present

Attributes

Exceptions

Remarks

Returns the Bitmap value for the key.

Java documentation for android.media.MediaMetadataEditor.getBitmap(int, android.graphics.Bitmap).

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