VoiceCommandDisambiguationResult 类

定义

Cortana 画布上显示的消除歧义屏幕获取的结果。

从后台应用服务调用 RequestDisambiguationAsync 会导致 Cortana 显示消除歧义屏幕。

public ref class VoiceCommandDisambiguationResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandDisambiguationResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandDisambiguationResult
Public NotInheritable Class VoiceCommandDisambiguationResult
继承
Object Platform::Object IInspectable VoiceCommandDisambiguationResult
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

通过在引用相应 Windows.ApplicationModel.AppService 对象的 VoiceCommandServiceConnection 上调用 RequestDisambiguationAsync 来访问 VoiceCommandDisambiguationResult 对象。

属性

SelectedItem

Cortana 消除歧义屏幕上显示的项目列表中选择的项。

适用于

另请参阅