共用方式為


Notification.ContentView 屬性

定義

將在通知清單中代表此通知的檢視(從狀態列向下提取)。

[Android.Runtime.Register("contentView")]
public Android.Widget.RemoteViews? ContentView { get; set; }
[<Android.Runtime.Register("contentView")>]
member this.ContentView : Android.Widget.RemoteViews with get, set

屬性值

屬性

備註

將在通知清單中代表此通知的檢視(從狀態列向下提取)。

從 N 開始,此欄位可能是 Null。 通知檢視是由 輸入 Notification.Builder所決定;自訂 RemoteViews 可以選擇性地提供 Notification.Builder#setCustomContentView(RemoteViews)

android.app.Notification.contentViewJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於