開發人員可以將應用程式或網站與 BLE 信標或支援 BLE 的智慧型裝置建立關聯。該裝置或信標附近的 Android 使用者將會在 Google 設定的「鄰近分享」部分看到訊息,「支援的快速設定」圖塊會在支援的裝置上亮起,而良好效能的訊息會用來顯示通知。您的訊息可能會將使用者帶往 Play 商店、行動網站,或是直接導向您的應用程式 (如果已安裝)。這項功能內建於 Google Play 服務,因此您不必變更應用程式即可開始使用。
「鄰近分享」功能支援所有類型的 Eddystone 信標和 iBeacon。
您可以使用鄰近通知提供兩種基本體驗:
連結 HTTPS 網址:為使用者提供通知,然後在使用者輕觸通知時在瀏覽器中開啟網址。
觸發應用程式意圖,以啟動已安裝且執行特定動作的應用程式。如果使用者未安裝應用程式,系統會將他們帶往 Play 商店,以便安裝應用程式。使用者隨後可繼續使用開發人員指定的功能。
[[["容易理解","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"]],["上次更新時間:2022-12-20 (世界標準時間)。"],[[["Nearby Notifications enables users to discover nearby content and services through location-specific notifications, without needing to have the related app installed."],["Developers can use Nearby Notifications to drive app installs, open social profiles, initiate conversations, and direct users to relevant content or actions based on their proximity to a beacon or smart device."],["Notifications can be linked to an HTTPS URL to open a webpage, or they can trigger an app intent to launch an installed app or prompt installation if the app isn't present."],["This functionality is built into Google Play Services, is compatible with various beacon types (Eddystone, iBeacon), and works on Android 4.4 and above."]]],[]]