Aracılığıyla paylaş


Notification.ContentView Property

Definition

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.

Applies to