语言

Notification.Style.Build 方法

定义

调用此样式的生成器上的 Notification.Builder.build()。

[Android.Runtime.Register("build", "()Landroid/app/Notification;", "GetBuildHandler")]
public virtual Android.App.Notification? Build();
[<Android.Runtime.Register("build", "()Landroid/app/Notification;", "GetBuildHandler")>]
abstract member Build : unit -> Android.App.Notification
override this.Build : unit -> Android.App.Notification

返回

此 API 生成的 Android.App.Notification。

特性

注解

调用此样式的生成器上的 Notification.Builder.build()。 注意:调用 build() 多次返回相同的通知实例,因此不建议重用生成器来创建多个通知。

Android 参考。android.app.Notification.Style.build

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于