One Logo Pool Ball
AVFAudio · IOS API REFERENCE

AVSpeechSynthesisProviderAudioUnit

class · iOS 16.0+ · SDK 27.1

class AVSpeechSynthesisProviderAudioUnit

Members (6)

method · iOS 16.0+

cancelSpeechRequest

TypeScript
cancelSpeechRequest(): void
Swift declaration
func cancelSpeechRequest()
method · iOS 16.0+

synthesizeSpeechRequest

TypeScript
synthesizeSpeechRequest(speechRequest: AVSpeechSynthesisProviderRequest): void
Swift declaration
func synthesizeSpeechRequest(_ speechRequest: AVSpeechSynthesisProviderRequest)
get · iOS 16.0+

speechSynthesisOutputMetadataBlock

TypeScript
get speechSynthesisOutputMetadataBlock(): (((arg0: Array<AVSpeechSynthesisMarker>, arg1: AVSpeechSynthesisProviderRequest) => Promise<void>)) | null
Swift declaration
var speechSynthesisOutputMetadataBlock: AVSpeechSynthesisProviderOutputBlock? { get set }
set · iOS 16.0+

speechSynthesisOutputMetadataBlock

TypeScript
set speechSynthesisOutputMetadataBlock(value: (((arg0: Array<AVSpeechSynthesisMarker>, arg1: AVSpeechSynthesisProviderRequest) => void)) | null)
Swift declaration
var speechSynthesisOutputMetadataBlock: AVSpeechSynthesisProviderOutputBlock? { get set }
get · iOS 16.0+

speechVoices

TypeScript
get speechVoices(): Array<AVSpeechSynthesisProviderVoice>
Swift declaration
var speechVoices: [AVSpeechSynthesisProviderVoice] { get set }
set · iOS 16.0+

speechVoices

TypeScript
set speechVoices(value: Array<AVSpeechSynthesisProviderVoice>)
Swift declaration
var speechVoices: [AVSpeechSynthesisProviderVoice] { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVSpeechSynthesisProviderAudioUnit.init()

inherited init: clang: 'init' is unavailable

All AVFAudio types →