Notification.ContentView Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The view that will represent this notification in the notification list (which is pulled down from the status bar).
[Android.Runtime.Register("contentView")]
public Android.Widget.RemoteViews? ContentView { get; set; }
[<Android.Runtime.Register("contentView")>]
member this.ContentView : Android.Widget.RemoteViews with get, set
Property Value
- Attributes
Remarks
The view that will represent this notification in the notification list (which is pulled down from the status bar).
As of N, this field may be null. The notification view is determined by the inputs to Notification.Builder
; a custom RemoteViews can optionally be supplied with Notification.Builder#setCustomContentView(RemoteViews)
.
Java documentation for android.app.Notification.contentView
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.