SubscriptionInfo.CreateIconBitmap(Context) 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.
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 DisplayMetrics
s 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.