ConversationalAgentSession.GetMissingPrerequisites Method

Definition

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

public:
 virtual IVectorView<ConversationalAgentVoiceActivationPrerequisiteKind> ^ GetMissingPrerequisites() = GetMissingPrerequisites;
IVectorView<ConversationalAgentVoiceActivationPrerequisiteKind> GetMissingPrerequisites();
public IReadOnlyList<ConversationalAgentVoiceActivationPrerequisiteKind> GetMissingPrerequisites();
function getMissingPrerequisites()
Public Function GetMissingPrerequisites () As IReadOnlyList(Of ConversationalAgentVoiceActivationPrerequisiteKind)

Returns

The collection of missing prerequisites.

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