NotificationGroupAlertBehavior 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public enum NotificationGroupAlertBehavior
type NotificationGroupAlertBehavior =
- 繼承
-
NotificationGroupAlertBehavior
欄位
| 名稱 | 值 | Description |
|---|---|---|
| All | 0 | Builder.setGroupAlertBehavior(int) 的常數,表示群組中所有有聲音或震動的通知都應該發出聲音或震動(分別),因此該通知在群組中不會被靜音。 |
| Summary | 1 | Builder.setGroupAlertBehavior(int)的常數,意即群組中所有子通知都應該靜音(無聲音或震動),即使它們發布在有聲音和/或震動的通知頻道。 |
| Children | 2 | Builder.setGroupAlertBehavior(int)的常數,意即群組中的摘要通知應該靜音(無聲音或震動),即使該通知發布到有聲音和/或震動的通知頻道。 |
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。