FoxitPDFSDKforWeb v10.0.0
Foxit PDF SDK for Web
CollaborationDataHandler Interface Reference

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
dataCollaborationData
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
dataCollaborationData -
nextHandlerCollaborationDataHandler<CollaborationData> - The next collaboration data handler, you can call it if necessary.
Returns
Promise<void>

Foxit Software Corporation Logo
@2024 Foxit Software Incorporated. All rights reserved.