Notification.Builder.SetContent(RemoteViews) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
deprecated
提供一個自訂的 RemoteViews,取代平台範本。
[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
遙視
傳回
這個 Android.App.Notification.Builder 實例,允許通話串接。
- 屬性
備註
提供一個自訂的 RemoteViews,取代平台範本。 改用 setCustomContentView(RemoteViews)。
Android 參考資料。android.app.Notification.Builder.setContent
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。