ConversationalAgentSession.GetMissingPrerequisitesAsync 方法

定义

获取缺少使语音激活变得可用并正常运行的先决条件。

public:
 virtual IAsyncOperation<IVectorView<ConversationalAgentVoiceActivationPrerequisiteKind> ^> ^ GetMissingPrerequisitesAsync() = GetMissingPrerequisitesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<ConversationalAgentVoiceActivationPrerequisiteKind>> GetMissingPrerequisitesAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<ConversationalAgentVoiceActivationPrerequisiteKind>> GetMissingPrerequisitesAsync();
function getMissingPrerequisitesAsync()
Public Function GetMissingPrerequisitesAsync () As IAsyncOperation(Of IReadOnlyList(Of ConversationalAgentVoiceActivationPrerequisiteKind))

返回

缺少先决条件的集合。

属性

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

注解

请注意,语音激活的权限仍需单独授予,不属于先决条件。

缺少先决条件可能会阻止授予语音激活权限。

适用于