One Logo Pool Ball
AVFAudio · IOS API REFERENCE

AVSpeechSynthesizer

class · iOS 7.0+ · SDK 27.1

class AVSpeechSynthesizer

Members (20)

get · iOS 17.0+

availableVoicesDidChangeNotification

TypeScript
static get availableVoicesDidChangeNotification(): _Foundation_NSNotification_Name
Swift declaration
class let availableVoicesDidChangeNotification: NSNotification.Name
static · iOS 17.0+

requestPersonalVoiceAuthorization

TypeScript
static requestPersonalVoiceAuthorization(handler: ((arg0: AVSpeechSynthesizer_PersonalVoiceAuthorizationStatus) => void)): void
Swift declaration
class func requestPersonalVoiceAuthorization() async -> AVSpeechSynthesizer.PersonalVoiceAuthorizationStatus
get · iOS 17.0+

personalVoiceAuthorizationStatus

TypeScript
static get personalVoiceAuthorizationStatus(): AVSpeechSynthesizer_PersonalVoiceAuthorizationStatus
Swift declaration
class var personalVoiceAuthorizationStatus: AVSpeechSynthesizer.PersonalVoiceAuthorizationStatus { get }
method · iOS 7.0+

continueSpeaking

TypeScript
continueSpeaking(): boolean
Swift declaration
func continueSpeaking() -> Bool
init

init

TypeScript
static init(): AVSpeechSynthesizer
Swift declaration
init()
method · iOS 7.0+

pauseSpeaking

TypeScript
pauseSpeaking(boundary: AVSpeechBoundary): boolean
Swift declaration
func pauseSpeaking(at boundary: AVSpeechBoundary) -> Bool
method · iOS 7.0+

speak

TypeScript
speak(utterance: AVSpeechUtterance): void
Swift declaration
func speak(_ utterance: AVSpeechUtterance)
method · iOS 7.0+

stopSpeaking

TypeScript
stopSpeaking(boundary: AVSpeechBoundary): boolean
Swift declaration
func stopSpeaking(at boundary: AVSpeechBoundary) -> Bool
method · iOS 13.0+

write

TypeScript
writeToBufferCallback(utterance: AVSpeechUtterance, bufferCallback: ((arg0: AVAudioBuffer) => void)): void
Swift declaration
func write(_ utterance: AVSpeechUtterance, toBufferCallback bufferCallback: @escaping AVSpeechSynthesizer.BufferCallback)
method · iOS 16.0+

write

TypeScript
writeToBufferCallbackToMarkerCallback(utterance: AVSpeechUtterance, bufferCallback: ((arg0: AVAudioBuffer) => void), markerCallback: ((arg0: Array<AVSpeechSynthesisMarker>) => void)): void
Swift declaration
func write(_ utterance: AVSpeechUtterance, toBufferCallback bufferCallback: @escaping AVSpeechSynthesizer.BufferCallback, toMarkerCallback markerCallback: @escaping AVSpeechSynthesizer.MarkerCallback)
get · iOS 7.0+

delegate

TypeScript
get delegate(): (SDKHandle) | null
Swift declaration
weak var delegate: (any AVSpeechSynthesizerDelegate)? { get set }
set · iOS 7.0+

delegate

TypeScript
set delegate(value: (Implements<AVSpeechSynthesizerDelegate> | SDKHandle) | null)
Swift declaration
weak var delegate: (any AVSpeechSynthesizerDelegate)? { get set }
get · iOS 13.0+

mixToTelephonyUplink

TypeScript
get mixToTelephonyUplink(): boolean
Swift declaration
var mixToTelephonyUplink: Bool { get set }
set · iOS 13.0+

mixToTelephonyUplink

TypeScript
set mixToTelephonyUplink(value: boolean)
Swift declaration
var mixToTelephonyUplink: Bool { get set }
get · iOS 10.0+

outputChannels

TypeScript
get outputChannels(): (Array<AVAudioSessionChannelDescription>) | null
Swift declaration
var outputChannels: [AVAudioSessionChannelDescription]? { get set }
set · iOS 10.0+

outputChannels

TypeScript
set outputChannels(value: (Array<AVAudioSessionChannelDescription>) | null)
Swift declaration
var outputChannels: [AVAudioSessionChannelDescription]? { get set }
get · iOS 7.0+

isPaused

TypeScript
get isPaused(): boolean
Swift declaration
var isPaused: Bool { get }
get · iOS 7.0+

isSpeaking

TypeScript
get isSpeaking(): boolean
Swift declaration
var isSpeaking: Bool { get }
get · iOS 13.0+

usesApplicationAudioSession

TypeScript
get usesApplicationAudioSession(): boolean
Swift declaration
var usesApplicationAudioSession: Bool { get set }
set · iOS 13.0+

usesApplicationAudioSession

TypeScript
set usesApplicationAudioSession(value: boolean)
Swift declaration
var usesApplicationAudioSession: Bool { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All AVFAudio types →