ConversationalAgentSession.GetAudioRenderDeviceIdAsync 方法

定義

以異步方式擷取目前語音輸出裝置的裝置標識碼。

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>

異步操作作為字串的結果。

屬性

適用於