Udostępnij za pośrednictwem


RemoteControlClient.MetadataEditor.PutBitmap(BitmapKey, Bitmap) Method

Definition

Sets the album / artwork picture to be displayed on the remote control.

[Android.Runtime.Register("putBitmap", "(ILandroid/graphics/Bitmap;)Landroid/media/RemoteControlClient$MetadataEditor;", "GetPutBitmap_ILandroid_graphics_Bitmap_Handler")]
public virtual Android.Media.RemoteControlClient.MetadataEditor? PutBitmap (Android.Media.BitmapKey key, Android.Graphics.Bitmap? bitmap);
[<Android.Runtime.Register("putBitmap", "(ILandroid/graphics/Bitmap;)Landroid/media/RemoteControlClient$MetadataEditor;", "GetPutBitmap_ILandroid_graphics_Bitmap_Handler")>]
override this.PutBitmap : Android.Media.BitmapKey * Android.Graphics.Bitmap -> Android.Media.RemoteControlClient.MetadataEditor

Parameters

key
BitmapKey

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

bitmap
Bitmap

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

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.

Applies to

See also