ConversationalAgentSession.GetMissingPrerequisitesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
IAsyncOperation<IVectorView<ConversationalAgentVoiceActivationPrerequisiteKind>>
IAsyncOperation<IReadOnlyList<ConversationalAgentVoiceActivationPrerequisiteKind>>
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.