Notification.Style.Build 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
调用此样式的生成器上的 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
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。