Share via


ConversationalAgentSession.GetMissingPrerequisitesAsync Method

Definition

Gets missing prerequisites for voice activation to become available and function properly.

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))

Returns

The collection of missing prerequisites.

Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

Note that the permission for voice activation still needs to be granted separately and is not part of the prerequisites.

Missing prerequisites may prevent granting the voice activation permission.

Applies to