Notification.BigPictureStyle.ShowBigPictureWhenCollapsed(Boolean) Method

Definition

When set, the big picture of this style will be promoted and shown in place of the large icon in the collapsed state of this notification.

[Android.Runtime.Register("showBigPictureWhenCollapsed", "(Z)Landroid/app/Notification$BigPictureStyle;", "GetShowBigPictureWhenCollapsed_ZHandler", ApiSince=31)]
public virtual Android.App.Notification.BigPictureStyle ShowBigPictureWhenCollapsed(bool show);
[<Android.Runtime.Register("showBigPictureWhenCollapsed", "(Z)Landroid/app/Notification$BigPictureStyle;", "GetShowBigPictureWhenCollapsed_ZHandler", ApiSince=31)>]
abstract member ShowBigPictureWhenCollapsed : bool -> Android.App.Notification.BigPictureStyle
override this.ShowBigPictureWhenCollapsed : bool -> Android.App.Notification.BigPictureStyle

Parameters

show
Boolean

boolean

Returns

This Android.App.Notification.BigPictureStyle instance, allowing calls to be chained.

Attributes

Remarks

When set, the big picture of this style will be promoted and shown in place of the large icon in the collapsed state of this notification.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-08-03 UTC.

Android reference for android.app.Notification.BigPictureStyle.showBigPictureWhenCollapsed.

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