Share via


MediaMetadata.GetBitmap(String) Method

Definition

Returns a Bitmap for the given key or null if no bitmap exists for the given key.

[Android.Runtime.Register("getBitmap", "(Ljava/lang/String;)Landroid/graphics/Bitmap;", "")]
public Android.Graphics.Bitmap? GetBitmap (string? key);
[<Android.Runtime.Register("getBitmap", "(Ljava/lang/String;)Landroid/graphics/Bitmap;", "")>]
member this.GetBitmap : string -> Android.Graphics.Bitmap

Parameters

key
String

The key the value is stored under

Returns

A Bitmap or null

Attributes

Remarks

Returns a Bitmap for the given key or null if no bitmap exists for the given key.

Java documentation for android.media.MediaMetadata.getBitmap(java.lang.String).

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