这里安卓和iOS的SDK是否提供以英尺或英里而不是米为单位的语音?
例如,当导航正在运行并且扬声器说"在 100 米内您将到达目的地"时,我希望说"在 100 英尺内您将到达目的地"而不是米
我认为您正在寻找的是导航管理器的单位设置:https://developer.here.com/documentation/android-premium/content/api_reference_java/com/here/android/mpa/guidance/NavigationManager.UnitSystem.html#IMPERIAL
您需要这样做:navigationManager.setDistanceUnit(NavigationManager.IMPERIAL(;
https://developer.here.com/documentation/android-premium/content/api_reference_java/com/here/android/mpa/guidance/NavigationManager.html#setDistanceUnit-com.here.android.mpa.guidance.NavigationManager.UnitSystem-
有点晚了,但只是把解决方案留给其他人。
对于安卓:
navigationManager.setDistanceUnit(NavigationManager.UnitSystem.IMPERIAL_US);
对于 IOS
self.navigationManager.voicePackageMeasurementSystem = .imperialUS