Share via


ConversationalAgentSession.GetAudioCaptureDeviceId Method

Definition

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

String

Platform::String

winrt::hstring

The ID as a string.

Applies to

See also