Lens Scripting API

    Class PostProcessingActionResponse

    The PostProcessingActionResponse is the base class for QnaActionRespose and other post processing actions responses. It holds the id and status properties for all deriving objects.

    var answers = eventArgs.getQnaResponses();
    for(var i = 0; i < answers.length; i++) {
    print("answer " + i + " id: " + answers[i].id);
    print("answer " + i + " status code: " + answers[i].status.code);
    print("answer " + i + " status description: " + answers[i].status.description);
    }

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    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

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR