Notification.Builder.SetCustomBigContentView(RemoteViews) Method

Definition

Supply custom RemoteViews to use instead of the platform template in the expanded form.

[Android.Runtime.Register("setCustomBigContentView", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetCustomBigContentView_Landroid_widget_RemoteViews_Handler", ApiSince=24)]
public virtual Android.App.Notification.Builder SetCustomBigContentView(Android.Widget.RemoteViews? contentView);
[<Android.Runtime.Register("setCustomBigContentView", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetCustomBigContentView_Landroid_widget_RemoteViews_Handler", ApiSince=24)>]
abstract member SetCustomBigContentView : Android.Widget.RemoteViews -> Android.App.Notification.Builder
override this.SetCustomBigContentView : Android.Widget.RemoteViews -> Android.App.Notification.Builder

Parameters

contentView
RemoteViews

RemoteViews

Returns

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

Attributes

Remarks

Supply custom RemoteViews to use instead of the platform template in the expanded form. This will override the expanded layout that would otherwise be constructed by this Builder object. Note: The maximum memory use of view hierarchy is limited to 5MB.

Android reference for android.app.Notification.Builder.setCustomBigContentView.

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