Language

Notification.Builder.SetCustomHeadsUpContentView(RemoteViews) メソッド

定義

ヘッドアップ ダイアログでプラットフォーム テンプレートの代わりに使用するカスタム RemoteView を提供します。

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

パラメーター

contentView
RemoteViews

RemoteViews

返品

この Android.App.Notification.Builder インスタンス。呼び出しをチェーンできます。

属性

注釈

ヘッドアップ ダイアログでプラットフォーム テンプレートの代わりに使用するカスタム RemoteView を提供します。 これにより、この Builder オブジェクトによって構築されるヘッドアップ レイアウトがオーバーライドされます。 注: ビュー階層の最大メモリ使用量は 5 MB に制限されています。

android.app.Notification.Builder.setCustomHeadsUpContentViewの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象