Lens Scripting API
    var answers = eventArgs.getQnaResponses();
    for(var i = 0; i < answers.length; i++) {
    print("answer option" + i + ": " + answers[i].answer);
    }

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    answer: string

    The response string the module came up with in response to the eventArgs.transcript

    answerStatusCode: number

    The status of the QnaResponse

    id: number

    The id of the PostProcessingAction so returning results can be tied to post processing actions

    The status holds the description and code for the post processing actions. In case of success the description will be empty and the code will be 0

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR