次の方法で共有


Notification.Builder.CreateContentView Method

Definition

Construct a RemoteViews for the final 1U notification layout.

[Android.Runtime.Register("createContentView", "()Landroid/widget/RemoteViews;", "GetCreateContentViewHandler", ApiSince=24)]
public virtual Android.Widget.RemoteViews? CreateContentView ();
[<Android.Runtime.Register("createContentView", "()Landroid/widget/RemoteViews;", "GetCreateContentViewHandler", ApiSince=24)>]
abstract member CreateContentView : unit -> Android.Widget.RemoteViews
override this.CreateContentView : unit -> Android.Widget.RemoteViews

Returns

Attributes

Remarks

Construct a RemoteViews for the final 1U notification layout. In order: 1. Custom contentView from the caller 2. Style's proposed content view 3. Standard template view

Java documentation for android.app.Notification.Builder.createContentView().

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