Android Wear 中的中断通知是什么?

What is an interruptive notification in Android Wear?

watch face API让你设置一个名为背景可见性的属性,它的值可以是WatchFaceStyle.BACKGROUND_VISIBILITY_INTERRUPTIVE或WatchFaceStyle.BACKGROUND_VISIBILITY_PERSISTENT。

INTERRUPTIVE 标志的文档说明 "When this background visibility is selected, the background of the peek card should only be shown briefly, and only if the peek card represents an interruptive notification."

什么是中断通知,它与普通通知有何不同?

中断通知由 Notifications Design guide as notifications that are PRIORITY_DEFAULT, PRIORITY_HIGH, or PRIORITY_MAX 定义。 Android Wear 使用优先级以及 vibration/sound 是否包含在通知中来确定哪些通知会打断用户。