Udostępnij za pośrednictwem


SubscriptionInfo.CreateIconBitmap(Context) Method

Definition

Creates and returns an icon Bitmap to represent this SubscriptionInfo in a user interface.

[Android.Runtime.Register("createIconBitmap", "(Landroid/content/Context;)Landroid/graphics/Bitmap;", "GetCreateIconBitmap_Landroid_content_Context_Handler", ApiSince=22)]
public virtual Android.Graphics.Bitmap? CreateIconBitmap (Android.Content.Context? context);
[<Android.Runtime.Register("createIconBitmap", "(Landroid/content/Context;)Landroid/graphics/Bitmap;", "GetCreateIconBitmap_Landroid_content_Context_Handler", ApiSince=22)>]
abstract member CreateIconBitmap : Android.Content.Context -> Android.Graphics.Bitmap
override this.CreateIconBitmap : Android.Content.Context -> Android.Graphics.Bitmap

Parameters

context
Context

A Context to get the DisplayMetricss from.

Returns

A bitmap icon for this SubscriptionInfo.

Attributes

Remarks

Creates and returns an icon Bitmap to represent this SubscriptionInfo in a user interface.

Java documentation for android.telephony.SubscriptionInfo.createIconBitmap(android.content.Context).

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