语言

NotificationGroupAlertBehavior 枚举

定义

public enum NotificationGroupAlertBehavior
type NotificationGroupAlertBehavior = 
继承
NotificationGroupAlertBehavior

字段

名称 值 说明
All 0

Builder.setGroupAlertBehavior(int)常量,表示具有声音或振动的组中的所有通知应分别发出声音或振动,因此当通知位于组中时不会静音。

Summary 1

Builder.setGroupAlertBehavior(int)的常量,这意味着,即使所有子级通知都发布到具有声音和/或振动的 NotificationChannel,组中的所有子通知都应保持静音(无声音或振动)。

Children 2

Builder.setGroupAlertBehavior(int)常量,这意味着,即使摘要通知发布到具有声音和/或振动的 NotificationChannel,组中的摘要通知也应保持静音(无声音或振动)。

注解

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

适用于