共用方式為


Notification.Builder.SetLargeIcon 方法

定義

多載

SetLargeIcon(Bitmap)

將大型圖示新增至通知(以及某些裝置上的刻度)。

SetLargeIcon(Icon)

SetLargeIcon(Bitmap)

將大型圖示新增至通知(以及某些裝置上的刻度)。

[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

參數

b
Bitmap

傳回

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

另請參閱

適用於

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

參數

icon
Icon

傳回

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於