.NET SDK Documentation

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    EventArgs
    RobotEventArgs
    UserIntentEventArgs
    Inherited Members
    RobotEventArgs.EventType
    EventArgs.Empty
    Namespace: Anki.Vector.Events
    Assembly: Anki.Vector.dll
    Syntax
    public class UserIntentEventArgs : RobotEventArgs

    Properties

    | Improve this Doc View Source

    Intent

    Gets the voice command user intent type

    public UserIntent Intent { get; }
    Property Type
    UserIntent
    | Improve this Doc View Source

    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

    See Also

    EventArgs
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2019 by Wayne Venables