MediaMetadataEditor.PutBitmap(MediaMetadataEditKey, Bitmap) 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.
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
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.