InstructionPhoneticsType
public enum InstructionPhoneticsType
extension InstructionPhoneticsType: Codable
Specifies whether to include the phonetic transcription of street names, signpost text, and road numbers in the instruction.
When using any value of InstructionPhoneticsType.LHP
and InstructionPhoneticsType.IPA
, phonetic
information (if it’s available) is returned in the Response. In this case all properties of the type
TextWithPhonetics
will contain the TextWithPhonetics.phoneticString
value.
When using InstructionPhoneticsType.none
value - no phonetic information is returned in the Response.
Examples of properties of type TextWithPhonetics
:
- Instruction.previousSignificantRoad.name
- Instruction.nextSignificantRoad.name
- Instruction.intersectionName
- properties of Instruction.signpost
-
Do not include phonetic transcriptions in the response.
Note
This value is not yet supported with the Orbis map.Declaration
Swift
case none
-
Return phonetic transcriptions in the L&H+ format from Cerence Inc.
Declaration
Swift
case LHP
-
Return phonetic transcriptions in the IPA (International Phonetic Alphabet) format. https://en.wikipedia.org/wiki/International_Phonetic_Alphabet
Declaration
Swift
case IPA