ConversationalAgentSession.GetAudioRenderDeviceIdAsync 方法

定义

异步检索当前语音输出设备的设备 ID。

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)

返回

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

异步操作作为字符串的结果。

属性

适用于