Voice Transcriber
Step 1: Creating a VoiceTranscriber Instance
Step 2: Configuring VoiceTranscriber


csharpCopy codepublic VoiceTranscriber voiceTranscriber;
// Call this method to start recording voice input from the user.
public void StartRecordingVoice() {
voiceTranscriber.StartRecording();
}csharpCopy code// Call this method to stop recording and transcribe the captured audio.
public async void StopAndTranscribe() {
AudioFile transcriptionResult = await voiceTranscriber.StopAndTranscribeRecordingAsync();
// Use the transcribed text from transcriptionResult
}