Notification.Builder.SetCustomContentView(RemoteViews) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プラットフォーム テンプレートの代わりに使用するカスタム RemoteView を指定します。
[Android.Runtime.Register("setCustomContentView", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetCustomContentView_Landroid_widget_RemoteViews_Handler", ApiSince=24)]
public virtual Android.App.Notification.Builder SetCustomContentView(Android.Widget.RemoteViews? contentView);
[<Android.Runtime.Register("setCustomContentView", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetCustomContentView_Landroid_widget_RemoteViews_Handler", ApiSince=24)>]
abstract member SetCustomContentView : Android.Widget.RemoteViews -> Android.App.Notification.Builder
override this.SetCustomContentView : Android.Widget.RemoteViews -> Android.App.Notification.Builder
パラメーター
- contentView
- RemoteViews
RemoteViews
返品
この Android.App.Notification.Builder インスタンス。呼び出しをチェーンできます。
- 属性
注釈
プラットフォーム テンプレートの代わりに使用するカスタム RemoteView を指定します。 これにより、この Builder オブジェクトによって構築されるレイアウトがオーバーライドされます。 注: ビュー階層の最大メモリ使用量は 5 MB に制限されています。
android.app.Notification.Builder.setCustomContentViewの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。