Share via


ConversationalAgentSession.GetAudioRenderDeviceId Method

Definition

Synchronously retrieves the device ID for the current speech output device.

Important

To avoid possible concurrency issues, we recommend using GetAudioRenderDeviceIdAsync instead.

public:
 virtual Platform::String ^ GetAudioRenderDeviceId() = GetAudioRenderDeviceId;
winrt::hstring GetAudioRenderDeviceId();
public string GetAudioRenderDeviceId();
function getAudioRenderDeviceId()
Public Function GetAudioRenderDeviceId () As String

Returns

String

Platform::String

winrt::hstring

The ID as a string.

Applies to

See also