SFSpeechAudioBufferRecognitionRequest.Append 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
| Append(AVAudioPcmBuffer) |
Appends the |
| Append(CMSampleBuffer) |
Appends the |
Append(AVAudioPcmBuffer)
Appends the audioPcmBuffer to the request.
[Foundation.Export("appendAudioPCMBuffer:")]
public virtual void Append(AVFoundation.AVAudioPcmBuffer audioPcmBuffer);
abstract member Append : AVFoundation.AVAudioPcmBuffer -> unit
override this.Append : AVFoundation.AVAudioPcmBuffer -> unit
Parameters
- audioPcmBuffer
- AVAudioPcmBuffer
The source audio buffer.
- Attributes
Applies to
Append(CMSampleBuffer)
Appends the sampleBuffer to the request.
[Foundation.Export("appendAudioSampleBuffer:")]
public virtual void Append(CoreMedia.CMSampleBuffer sampleBuffer);
abstract member Append : CoreMedia.CMSampleBuffer -> unit
override this.Append : CoreMedia.CMSampleBuffer -> unit
Parameters
- sampleBuffer
- CMSampleBuffer
The source audio buffer.
- Attributes