Lens Scripting API
    var qa = VoiceML.QnaAction.create("The moon is 239 miles away");
    options.postProcessingActions = [qa];

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    context: string

    The context passed to the QnaAction. The QnaAction is passed to VoiceML.listeningOptions to use the DialogML within the VoiceML automatically

    Methods

    • Parameter: string context. Creates a QnaAction object with a given context i.e. source text for the Dialog ML.

      Parameters

      • context: string

      Returns QnaAction

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

      Parameters

      • type: string

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR