Phonetics
public struct Phonetics : Equatable
The Phonetics structure contains information about phonetic transcriptions for building verbal instructions.
-
init(street:
streetLanguageCode: roadNumbers: roadNumberLanguageCodes: signpostText: signpostTextLanguageCode: ) Initializer.
Declaration
Swift
public init( street: String? = nil, streetLanguageCode: String? = nil, roadNumbers: [String] = [], roadNumberLanguageCodes: [String] = [], signpostText: String? = nil, signpostTextLanguageCode: String? = nil ) throws
Parameters
street
Phonetic transcription for the street.
streetLanguageCode
Language code in which the street phonetic string is encoded.
roadNumbers
List of phonetic transcription for road numbers.
roadNumberLanguageCodes
List of language codes in which the road number phonetic strings are encoded.
signpostText
Phonetic transcription for the sign post text.
signpostTextLanguageCode
Language code in which the sign post phonetic string is encoded.
-
Phonetic transcription for the street.
Declaration
Swift
public let street: String?
-
Language code in which the street phonetic string is encoded.
Declaration
Swift
public let streetLanguageCode: String?
-
List of phonetic transcription for road numbers.
Declaration
Swift
public let roadNumbers: [String]
-
List of language codes in which the road number phonetic strings are encoded.
Declaration
Swift
public let roadNumberLanguageCodes: [String]
-
Phonetic transcription for the sign post text.
Declaration
Swift
public let signpostText: String?
-
Language code in which the sign post phonetic string is encoded.
Declaration
Swift
public let signpostTextLanguageCode: String?