TTSMessage

public enum TTSMessage : Equatable

TTSMessage defines a message that should be vocalized.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Message with handling options.

    Declaration

    Swift

    case audio(message: String, type: MessageType)

    Parameters

    message

    Text of the message.

    type

    Type of the message.

  • Message with phonetic transcriptions that should be parsed for correct playback.

    Declaration

    Swift

    case tagged(message: String, phonetics: [PhoneticTranscription])

    Parameters

    message

    Text of the message.

    phonetics

    List of the phonetic transcriptions.

  • Declaration

    Swift

    public var message: String { get }