VoiceCommandServiceConnection.RequestDisambiguationAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳送回應給 Cortana ,指出語音命令傳回多個結果,並要求使用者選取一個。
public:
virtual IAsyncOperation<VoiceCommandDisambiguationResult ^> ^ RequestDisambiguationAsync(VoiceCommandResponse ^ response) = RequestDisambiguationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VoiceCommandDisambiguationResult> RequestDisambiguationAsync(VoiceCommandResponse const& response);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VoiceCommandDisambiguationResult> RequestDisambiguationAsync(VoiceCommandResponse response);
function requestDisambiguationAsync(response)
Public Function RequestDisambiguationAsync (response As VoiceCommandResponse) As IAsyncOperation(Of VoiceCommandDisambiguationResult)
參數
- response
- VoiceCommandResponse
來自背景 App Service 的回應,用於進度、確認、厘清、完成或失敗畫面顯示在 Cortana 畫布上。
傳回
具有使用者回應的 VoiceCommandDisambiguationResult 物件。
- 屬性