Notification.Builder.SetLargeIcon Method

Definition

Overloads

SetLargeIcon(Bitmap)

Add a large icon to the notification (and the ticker on some devices).

SetLargeIcon(Icon)

SetLargeIcon(Bitmap)

Add a large icon to the notification (and the ticker on some devices).

[Android.Runtime.Register("setLargeIcon", "(Landroid/graphics/Bitmap;)Landroid/app/Notification$Builder;", "GetSetLargeIcon_Landroid_graphics_Bitmap_Handler")]
public virtual Android.App.Notification.Builder SetLargeIcon (Android.Graphics.Bitmap? b);
[<Android.Runtime.Register("setLargeIcon", "(Landroid/graphics/Bitmap;)Landroid/app/Notification$Builder;", "GetSetLargeIcon_Landroid_graphics_Bitmap_Handler")>]
abstract member SetLargeIcon : Android.Graphics.Bitmap -> Android.App.Notification.Builder
override this.SetLargeIcon : Android.Graphics.Bitmap -> Android.App.Notification.Builder

Parameters

b
Bitmap

Returns

Attributes

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.

See also

Applies to

SetLargeIcon(Icon)

[Android.Runtime.Register("setLargeIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$Builder;", "GetSetLargeIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=23)]
public virtual Android.App.Notification.Builder SetLargeIcon (Android.Graphics.Drawables.Icon? icon);
[<Android.Runtime.Register("setLargeIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Notification$Builder;", "GetSetLargeIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=23)>]
abstract member SetLargeIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.Builder
override this.SetLargeIcon : Android.Graphics.Drawables.Icon -> Android.App.Notification.Builder

Parameters

icon
Icon

Returns

Attributes

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