次の方法で共有


ConversationalAgentSession.GetAudioRenderDeviceId メソッド

定義

現在の音声出力デバイスのデバイス ID を同期的に取得します。

重要

コンカレンシーの問題を回避するために、代わりに GetAudioRenderDeviceIdAsync を使用することをお勧めします。

public:
 virtual Platform::String ^ GetAudioRenderDeviceId() = GetAudioRenderDeviceId;
winrt::hstring GetAudioRenderDeviceId();
public string GetAudioRenderDeviceId();
function getAudioRenderDeviceId()
Public Function GetAudioRenderDeviceId () As String

戻り値

String

Platform::String

winrt::hstring

文字列としての ID。

適用対象

こちらもご覧ください