ConversationalAgentSession.GetAudioRenderDeviceId 方法

定義

同步擷取目前語音輸出裝置的裝置標識碼。

重要

若要避免可能的並行問題,建議您改用 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

作為字串的識別碼。

適用於

另請參閱