ConversationalAgentSession.GetAudioClientAsync 方法

定义

异步检索 IAudioClient 对象,该对象在应用程序和音频呈现设备之间创建和初始化音频流。

public:
 virtual IAsyncOperation<Platform::Object ^> ^ GetAudioClientAsync() = GetAudioClientAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IInspectable> GetAudioClientAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<object> GetAudioClientAsync();
function getAudioClientAsync()
Public Function GetAudioClientAsync () As IAsyncOperation(Of Object)

返回

IAsyncOperation<Object>

IAsyncOperation<Platform::Object>

IAsyncOperation<IInspectable>

作为 IAudioClient 对象的异步操作的结果。

属性

适用于

另请参阅