OSSVoiceInfo

@available(*, deprecated, message: "Use OSSLanguage and AVSpeechSynthesisVoice directly.")
public struct OSSVoiceInfo

Information about a resolved system voice.

  • The name of the voice; All AVSpeechSynthesisVoice instances have a persons name.

    Declaration

    Swift

    public var name: String?
  • The name of the language being used.

    Declaration

    Swift

    public var language: String?
  • The language code is what is internationally used in Locale settings.

    Declaration

    Swift

    public var languageCode: String?
  • Identifier is a unique bundle URL provided by Apple for each voice.

    Declaration

    Swift

    @available(*, deprecated, message: "Use voiceIdentifier.")
    public var identifier: Any?
  • Typed identifier for the resolved AVSpeechSynthesisVoice.

    Declaration

    Swift

    public var voiceIdentifier: String?