Share via


ConversationalAgentSession.GetAudioRenderDeviceIdAsync Method

Definition

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

public:
 virtual IAsyncOperation<Platform::String ^> ^ GetAudioRenderDeviceIdAsync() = GetAudioRenderDeviceIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<winrt::hstring> GetAudioRenderDeviceIdAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<string> GetAudioRenderDeviceIdAsync();
function getAudioRenderDeviceIdAsync()
Public Function GetAudioRenderDeviceIdAsync () As IAsyncOperation(Of String)

Returns

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

The result of the asynchronous operation as a string.

Attributes

Applies to