Phonetics

public struct Phonetics : Equatable

Phonetic strings of all of the readable Instruction properties.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Initializer.

    Declaration

    Swift

    public init(
        street: String = "",
        streetLanguageCode: String = "",
        roadNumbers: [String] = [],
        roadNumberLanguageCodes: [String] = [],
        signpostText: String = "",
        signpostTextLanguageCode: String = "",
        phoneticAlphabet: String = ""
    ) throws

    Parameters

    street

    Phonetic string for the street.

    streetLanguageCode

    Code for the language in which street is encoded.

    roadNumbers

    Phonetic strings for road numbers.

    roadNumberLanguageCodes

    Codes for the languages in which the roadNumbers are encoded.

    signpostText

    Phonetic string for signpost text.

    signpostTextLanguageCode

    Code for the language in which the signpostText is encoded.

    phoneticAlphabet

    Phonetic alphabet indicating the type of phonetics stored.

Public

  • Phonetic string for the street.

    Declaration

    Swift

    public let street: String
  • Code for the language in which street is encoded.

    Declaration

    Swift

    public let streetLanguageCode: String
  • Phonetic strings for road numbers.

    Declaration

    Swift

    public let roadNumbers: [String]
  • Codes for the languages in which the roadNumbers are encoded.

    Declaration

    Swift

    public let roadNumberLanguageCodes: [String]
  • Phonetic string for signpost text.

    Declaration

    Swift

    public let signpostText: String
  • Code for the language in which the signpostText is encoded.

    Declaration

    Swift

    public let signpostTextLanguageCode: String
  • Phonetic alphabet indicating the type of phonetics stored.

    Declaration

    Swift

    public let phoneticAlphabet: String