借助 Google Awareness API,您可以让应用智能地对用户的当前情况做出响应。Awareness API 提供五种不同的情境类型,包括用户活动和附近信标。这些类型可让您的应用以前所未有的全新方式提升用户体验。您的应用可以结合这些上下文信号来推断用户当前所处的情境,并利用这些信息提供个性化体验,例如在用户插入耳机并开始慢跑时显示播放列表建议。
[[["易于理解","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-06-13。"],[[["The Google Awareness API lets your app intelligently respond to the user's context, such as their activity, location, and nearby beacons."],["It offers benefits like easy implementation, improved context data quality, and automatic management of system resources."],["The API provides two ways to access context: the Fence API for reacting to situations and the Snapshot API for requesting current information."],["Supported context types include time, location, activity, beacons, and headphone status, while places and weather signals are deprecated."]]],[]]