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.