共用方式為


Notification.BigPictureStyle.BigLargeIcon Method

Definition

Overloads

BigLargeIcon(Bitmap)

Override the large icon when the big notification is shown.

BigLargeIcon(Icon)

BigLargeIcon(Bitmap)

Override the large icon when the big notification is shown.

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

Parameters

b
Bitmap

Bitmap of the overriding large 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

BigLargeIcon(Icon)

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

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