共用方式為


Notification.BigPictureStyle.BigPicture Method

Definition

Overloads

BigPicture(Bitmap)

Provide the bitmap to be used as the payload for the big picture notification.

BigPicture(Icon)

BigPicture(Bitmap)

Provide the bitmap to be used as the payload for the big picture notification.

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

Parameters

b
Bitmap

Bitmap to use as the payload for the big picture notification.

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

BigPicture(Icon)

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

Parameters

icon
Icon

Returns

Attributes

Applies to