Updated on 2023-09-27 GMT+08:00

HTML5 Screenshot Event

  • Identifier:

    AgentEvent_ImageCapture

  • Function:

    This event indicates the H5 screenshot result event.

  • Additional information:

    workNo: agent ID.

    content: message object in JSON format. The following fields are contained:

    callid: call ID.

    filename: address of the recording file.

    locationId: ID of the node corresponding to the screenshot file.

    result: screenshot result, where 0 indicates success, 1 indicates failure, and 2 indicates user rejection.

  • Example:

{"eventType": "AgentEvent_ImageCapture","workNo": "1002","content": {"callid": "1654917192-17845843","result": 0,"filename": "F:/5/1/20220611/1002/1113201.jpg","locationId": 256}}