PhoneticTranscription

public struct PhoneticTranscription : Equatable

PhoneticTranscription represents the phonetic transcription of the message part used in the voice message.

Important

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

Lifecycle

  • Initializer

    Declaration

    Swift

    public init(transcriptions: [String], languages: [Locale], tag: String, alphabet: String)

    Parameters

    transcriptions

    Phonetic transcriptions.

    languages

    The languages in which the phonetic string is encoded as Locales.

    tag

    Tag in which the original string is embedded.

    alphabet

    Format of the phonetic transcriptions alphabet.

Public

  • Phonetic transcriptions.

    Declaration

    Swift

    public let transcriptions: [String]
  • The Locales in which the phonetic string is encoded.

    Declaration

    Swift

    public let languages: [Locale]
  • tag

    Tag in which the original string is embedded.

    Declaration

    Swift

    public let tag: String
  • Format of the phonetic transcriptions alphabet.

    Declaration

    Swift

    public let alphabet: String