Class UserIntentEventArgs
User intent event args.
Contains the voice command information from the event stream. The UserIntent enumeration includes all of the voice commands that the SDK can intercept.
Some UserIntents include information returned from the cloud and used when evaluating the voice commands. This information is available in the IntentData JSON formatted string.
Namespace: Anki.Vector.Events
Assembly: Anki.Vector.dll
Syntax
public class UserIntentEventArgs : RobotEventArgs
Properties
| Improve this Doc View SourceIntent
Gets the voice command user intent type
public UserIntent Intent { get; }
Property Type
UserIntent |
IntentData
Gets the voice command specific data in JSON format.
Some voice commands contain information from processing. For example, asking Vector "Hey Vector, what is the weather?" will return the current location and the weather forecast.
This value will be empty for voice commands without additional information.
public string IntentData { get; }
Property Type
String |