Share via


MediaMetadataEditor.PutBitmap(MediaMetadataEditKey, Bitmap) Method

Definition

Caution

deprecated

Adds image.

[Android.Runtime.Register("putBitmap", "(ILandroid/graphics/Bitmap;)Landroid/media/MediaMetadataEditor;", "GetPutBitmap_ILandroid_graphics_Bitmap_Handler")]
[System.Obsolete("deprecated")]
public virtual Android.Media.MediaMetadataEditor? PutBitmap (Android.Media.MediaMetadataEditKey key, Android.Graphics.Bitmap? bitmap);
[<Android.Runtime.Register("putBitmap", "(ILandroid/graphics/Bitmap;)Landroid/media/MediaMetadataEditor;", "GetPutBitmap_ILandroid_graphics_Bitmap_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member PutBitmap : Android.Media.MediaMetadataEditKey * Android.Graphics.Bitmap -> Android.Media.MediaMetadataEditor
override this.PutBitmap : Android.Media.MediaMetadataEditKey * Android.Graphics.Bitmap -> Android.Media.MediaMetadataEditor

Parameters

key
MediaMetadataEditKey

the identifier of the bitmap to set. The only valid value is #BITMAP_KEY_ARTWORK

bitmap
Bitmap

The bitmap for the artwork, or null if there isn't any.

Returns

Returns a reference to the same MediaMetadataEditor object, so you can chain put calls together.

Attributes

Exceptions

Remarks

Adds image.

Java documentation for android.media.MediaMetadataEditor.putBitmap(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

See also