ConversationalAgentSession.GetAudioCaptureDeviceId 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.
Synchronously retrieves the device ID for the current speech input device.
Important
To avoid possible concurrency issues, we recommend using GetAudioCaptureDeviceIdAsync instead.
public:
virtual Platform::String ^ GetAudioCaptureDeviceId() = GetAudioCaptureDeviceId;
winrt::hstring GetAudioCaptureDeviceId();
public string GetAudioCaptureDeviceId();
function getAudioCaptureDeviceId()
Public Function GetAudioCaptureDeviceId () As String
Returns
The ID as a string.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for