通知
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
通知是向用户发送的一目了然的时效性信息和操作。
原则
有价值:问一下自己,有必要为此通知用户吗?是否需要用户立即执行操作?
一目了然:使用简明扼要、条理清晰的信息,让用户能够快速浏览和领会信息。
及时:只要信息相关就立即发送通知,尤其是在信息具有时效性的情况下。
模板
Wear OS 应用套件使用通知模板,您可以根据自己的品牌加以调整。
标准
此模板适用于大多数通知,它包括简洁的消息、大图标(如适用)和操作。

图 1. 收起和展开的通知的标准模板。
大文本
使用此模板可在展开通知后在预览中显示更长的文本。

图 2. 收起和展开的通知的大文本模板。
大图片
此模板适用于带图片的通知。当用户滚动到通知时,图片会显示一秒钟,然后进入卡片。

图 3. 收起和展开的通知的大图模板。
消息
此模板用于显示近期的聊天记录,而且无需编写任何代码即可利用 Google 的智能回复功能。

图 4. 收起和展开的通知的消息模板。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Notifications are glanceable, time-sensitive information and actions sent to the\nuser.\n\nPrinciples\n----------\n\n**Valuable**\nAsk yourself, is it worth buzzing the user's wrist for this? Does the user need\nto take action right now?\n\n**Glanceable**\nUse small pieces of information with clear hierarchy to enable users to rapidly\nscan and take in information.\n\n**Timely**\nSend notifications as soon as the information is relevant, especially when that\ninformation is time sensitive.\n\nTemplates\n---------\n\nThe Wear OS app suite uses notification templates that you can adapt for your\nbrand.\n\n### Standard\n\nThis template works well for most notifications and includes a succinct message,\na large icon when applicable, and actions.\n\n**Figure 1.** Standard template for collapsed and expanded notifications.\n\n### Big text\n\nUse this template to display longer text in a preview when the notification is\nexpanded.\n\n**Figure 2.** Big text template for collapsed and expanded notifications.\n\n### Big picture\n\nUse this template for notifications with a picture. When a user scrolls to the\nnotification, the picture displays for a second and then slips into the card.\n\n**Figure 3.** Big picture template for collapsed and expanded notifications.\n\nMessaging\n---------\n\nUse this template to display recent chat history, and leverage Google's Smart\nReply features without writing any code.\n\n**Figure 4.** Messaging template for collapsed and expanded notifications."]]