AVSpeechSynthesizer.WriteUtterance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| WriteUtterance(AVSpeechUtterance, Action<AVAudioBuffer>) | |
| WriteUtterance(AVSpeechUtterance, AVSpeechSynthesizerBufferCallback, AVSpeechSynthesizerMarkerCallback) |
WriteUtterance(AVSpeechUtterance, Action<AVAudioBuffer>)
[Foundation.Export("writeUtterance:toBufferCallback:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void WriteUtterance(AVFoundation.AVSpeechUtterance utterance, Action<AVFoundation.AVAudioBuffer> bufferCallback);
[<Foundation.Export("writeUtterance:toBufferCallback:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WriteUtterance : AVFoundation.AVSpeechUtterance * Action<AVFoundation.AVAudioBuffer> -> unit
override this.WriteUtterance : AVFoundation.AVSpeechUtterance * Action<AVFoundation.AVAudioBuffer> -> unit
Parameters
- utterance
- AVSpeechUtterance
- bufferCallback
- Action<AVAudioBuffer>
- Attributes
Applies to
WriteUtterance(AVSpeechUtterance, AVSpeechSynthesizerBufferCallback, AVSpeechSynthesizerMarkerCallback)
[Foundation.Export("writeUtterance:toBufferCallback:toMarkerCallback:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void WriteUtterance(AVFoundation.AVSpeechUtterance utterance, AVFoundation.AVSpeechSynthesizerBufferCallback bufferCallback, AVFoundation.AVSpeechSynthesizerMarkerCallback markerCallback);
[<Foundation.Export("writeUtterance:toBufferCallback:toMarkerCallback:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WriteUtterance : AVFoundation.AVSpeechUtterance * AVFoundation.AVSpeechSynthesizerBufferCallback * AVFoundation.AVSpeechSynthesizerMarkerCallback -> unit
override this.WriteUtterance : AVFoundation.AVSpeechUtterance * AVFoundation.AVSpeechSynthesizerBufferCallback * AVFoundation.AVSpeechSynthesizerMarkerCallback -> unit
Parameters
- utterance
- AVSpeechUtterance
- bufferCallback
- AVSpeechSynthesizerBufferCallback
- markerCallback
- AVSpeechSynthesizerMarkerCallback
- Attributes