实现 Navigation SDK 的主要方式是使用 Google 导航体验,借助该体验,您可以嵌入使用 Google 提供的界面元素和视觉效果的精细导航体验,类似于 Google 地图应用中的导航体验。如果您需要的灵活性超出了 Google 导航体验所提供的范围,则可以实现自定义导航体验。自定义导航体验是指从完全消除转弯引导并仅将导航作为后台进程运行,到将高度自定义的引导体验投影到与运行导航的设备分开的屏幕,这两者之间的任何内容。使用自定义导航体验时,您的应用会调用 Navigation SDK 来请求精细导航 Feed,然后您提供并管理用户在导航体验中看到的界面元素和视觉效果。虽然使用 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"]],["最后更新时间 (UTC):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."]]],[]]