Notification.Builder.SetPublicVersion(Notification) 方法

定义

提供通知的公共版本。

[Android.Runtime.Register("setPublicVersion", "(Landroid/app/Notification;)Landroid/app/Notification$Builder;", "GetSetPublicVersion_Landroid_app_Notification_Handler")]
public virtual Android.App.Notification.Builder SetPublicVersion (Android.App.Notification? n);
[<Android.Runtime.Register("setPublicVersion", "(Landroid/app/Notification;)Landroid/app/Notification$Builder;", "GetSetPublicVersion_Landroid_app_Notification_Handler")>]
abstract member SetPublicVersion : Android.App.Notification -> Android.App.Notification.Builder
override this.SetPublicVersion : Android.App.Notification -> Android.App.Notification.Builder

参数

n
Notification

替换通知,大概会进行部分或全部信息修订。

返回

属性

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于