| FoxitPDFSDKforWeb v11.0.5 Archives Foxit PDF SDK for Web

Public Member Functions | List of all members
CollaborationDataHandler Interface Reference
PDFViewCtrl » collab

A collaboration data handler used to process collaboration data received from server. More...

## Public Member Functions
Promise< boolean > | accept (data:CollaborationData)
| Detect whether to process the collaboration data. More...
Promise< void > | receive (data:CollaborationData, nextHandler?:CollaborationDataHandler< CollaborationData >)
| receive and process the collaboration data. It supports chained processing of collaboration data. More...

## Detailed Description

A collaboration data handler used to process collaboration data received from server.

Deprecated:
  Deprecated after version 8.5.2, Please refer to the new collaboration solution: collab-developer-guide , collab_client_api_reference and collab_server_api_reference

## Member Function Documentation

## ◆ accept()

Promise<boolean> CollaborationDataHandler::accept | ( | data:CollaborationData |  | ) |

Detect whether to process the collaboration data.

Parameters

  data | CollaborationData

Returns
  Promise<boolean>

## ◆ receive()

Promise<void> CollaborationDataHandler::receive | ( | data:CollaborationData | ,
|  | nextHandler?:CollaborationDataHandler< CollaborationData > |
| ) |  |

receive and process the collaboration data. It supports chained processing of collaboration data.

Parameters

  data | CollaborationData -
  nextHandler | CollaborationDataHandler<CollaborationData> - The next collaboration data handler, you can call it if necessary.

Returns
  Promise<void>

@2025 Foxit Software Incorporated. All rights reserved.