Language

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

定義

注意事項

deprecated

プラットフォーム テンプレートの代わりに使用するカスタム RemoteView を指定します。

[Android.Runtime.Register("setContent", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetContent_Landroid_widget_RemoteViews_Handler")]
[System.Obsolete("deprecated")]
public virtual Android.App.Notification.Builder? SetContent(Android.Widget.RemoteViews? views);
[<Android.Runtime.Register("setContent", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetContent_Landroid_widget_RemoteViews_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetContent : Android.Widget.RemoteViews -> Android.App.Notification.Builder
override this.SetContent : Android.Widget.RemoteViews -> Android.App.Notification.Builder

パラメーター

views
RemoteViews

RemoteViews

返品

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

属性

注釈

プラットフォーム テンプレートの代わりに使用するカスタム RemoteView を指定します。 代わりに setCustomContentView(RemoteViews) を使用してください。

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

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

適用対象