Jaa


ConversationalAgentSession.GetAudioCaptureDeviceIdAsync Method

Definition

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

public:
 virtual IAsyncOperation<Platform::String ^> ^ GetAudioCaptureDeviceIdAsync() = GetAudioCaptureDeviceIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<winrt::hstring> GetAudioCaptureDeviceIdAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<string> GetAudioCaptureDeviceIdAsync();
function getAudioCaptureDeviceIdAsync()
Public Function GetAudioCaptureDeviceIdAsync () 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