SpeechOptions.path and SpeechOptions.params are internal. We should rename them to abridgedPath and urlQueryItems, respectively, and make them open, for consistency with RouteOptions in MapboxDirections. This will enable developers to pass in additional settings that aren’t supported by this library, such as beta parameters that it can’t support due to backwards compatibility concerns.
|
internal var path: String { |
|
internal var params: [URLQueryItem] { |
/ref mapbox/mapbox-directions-swift#343 mapbox/mapbox-directions-swift#461
/cc @mapbox/navigation-ios @browndp08 @Guardiola31337
SpeechOptions.pathandSpeechOptions.paramsare internal. We should rename them toabridgedPathandurlQueryItems, respectively, and make themopen, for consistency withRouteOptionsin MapboxDirections. This will enable developers to pass in additional settings that aren’t supported by this library, such as beta parameters that it can’t support due to backwards compatibility concerns.mapbox-speech-swift/Sources/MapboxSpeech/MBSpeechOptions.swift
Line 65 in b0a6008
mapbox-speech-swift/Sources/MapboxSpeech/MBSpeechOptions.swift
Line 74 in b0a6008
/ref mapbox/mapbox-directions-swift#343 mapbox/mapbox-directions-swift#461
/cc @mapbox/navigation-ios @browndp08 @Guardiola31337