實作 Navigation SDK 的主要方式是使用 Google 導航體驗,這樣您就能嵌入使用 Google 提供的 UI 元素和視覺效果的行車路線導航體驗,類似於 Google 地圖應用程式中的導航體驗。如果您需要比 Google 導航體驗更具彈性的功能,可以實作自訂導航體驗。自訂導航體驗是指完全移除轉彎指引,並將導航功能做為背景程序執行,或是將高度自訂的指引體驗投影到與執行導航功能的裝置不同的螢幕上。在自訂導航體驗中,應用程式會呼叫 Navigation SDK 來要求即時路線導航動態饋給,然後您提供及管理使用者在導航體驗中看到的 UI 元素和視覺效果。雖然使用 Google 導航體驗通常比較容易實作,但自行建構自訂導航體驗可讓您進行更多自訂。
[[["容易理解","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"]],["上次更新時間:2025-01-14 (世界標準時間)。"],[[["The Navigation SDK offers both a pre-built Google navigation experience and the flexibility to create custom navigation experiences."],["Custom navigation experiences allow developers to manage UI elements, visuals, and event handling for a highly tailored user interface."],["This customization ranges from background navigation to projecting guidance onto separate screens, giving developers more control."],["Custom experiences involve starting navigation, managing active navigation with event handlers, and ending navigation as needed."],["Use cases for custom navigation include text-only guidance, Android Auto integration, and dynamic switching between map views and turn-by-turn instructions."]]],[]]