语言

Notification.Builder.SetNumber(Int32) 方法

定义

设置此通知表示的项数。

[Android.Runtime.Register("setNumber", "(I)Landroid/app/Notification$Builder;", "GetSetNumber_IHandler")]
public virtual Android.App.Notification.Builder SetNumber(int number);
[<Android.Runtime.Register("setNumber", "(I)Landroid/app/Notification$Builder;", "GetSetNumber_IHandler")>]
abstract member SetNumber : int -> Android.App.Notification.Builder
override this.SetNumber : int -> Android.App.Notification.Builder

参数

number
Int32

int

返回

此 Android.App.Notification.Builder 实例允许链接调用。

特性

注解

设置此通知表示的项数。 可能会显示为支持不良的启动器的锁屏提醒计数。

Android 参考。android.app.Notification.Builder.setNumber

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

适用于