次の方法で共有


Notification.Builder.SetContent(RemoteViews) Method

Definition

Supply a custom RemoteViews object to use instead of the platform template.

[Android.Runtime.Register("setContent", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetContent_Landroid_widget_RemoteViews_Handler")]
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")>]
abstract member SetContent : Android.Widget.RemoteViews -> Android.App.Notification.Builder
override this.SetContent : Android.Widget.RemoteViews -> Android.App.Notification.Builder

Parameters

views
RemoteViews

The RemoteViews to use.

Returns

Attributes

Remarks

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

See also