注:本文内容来自:https://developer.android.com/training/wearables/notifications/index.html
翻译水平有限,如有疏漏,欢迎批评指教。
译:山人
增加可穿戴设备功能到通知中
Adding Wearable Features to Notifications
When an Android handheld (phone or tablet) and Android wearable are connected, the handheld automatically shares notifications with the wearable. On the wearable, each notification appears as a new card in the context stream.
当一个android手持设备(手机或平板)和android可穿戴设备连接时,手持设备自动与可穿戴设备分享通知。在可穿戴设备上,每一个通知都会作为一个新的卡片显示在内容流(context stream)中。
However, to give users the best experience, you should add wearable-specific functionality to the notifications you already create. The following lessons show you how to create notifications that are catered for handhelds and wearables at the same time.
然而,为了给用户最好的体验,你应当添加已经创建好的特定于可穿戴设备功能的通知栏。接下来的课程将为你展示怎样同时在手持设备和可穿戴设备上创建通知。
课程 - Lessons
创建一个通知 - Creating a notification
在通知中接收语音输入 - Receiving Voice Input in a Notification
添加通知页面 - Adding Pages to a Notification
堆叠通知 - Stacking Notifications