语言

NotificationChannel.SetAllowBubbles(Boolean) 方法

定义

从 Android 11 开始,不再尊重此值。

[Android.Runtime.Register("setAllowBubbles", "(Z)V", "", ApiSince=29)]
public void SetAllowBubbles(bool allowBubbles);
[<Android.Runtime.Register("setAllowBubbles", "(Z)V", "", ApiSince=29)>]
member this.SetAllowBubbles : bool -> unit

参数

allowBubbles
Boolean

boolean

特性

注解

从 Android 11 开始,不再尊重此值。

Android 参考。android.app.NotificationChannel.setAllowBubbles

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

适用于