透過 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"]],["上次更新時間:2023-09-14 (世界標準時間)。"],[[["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."]]],[]]