Constructor that creates a web collaboration client with given options.
The options for creating a web collaboration client.
A web collaboration client.
Create a collaboration with the specified document information. When the collaboration is created, the current user will be the owner of the created collaboration, and the information of the user is provided by the UserProvider.
The document name of the collaboration.
The URL of the PDF file to enable collaboration.
Create an invitation with the specified expiration time in milliseconds.
For example, if you want to generate a link to invite others to join the collaboration, the following steps are required:
Identifier of the collaboration.
Get a collaboration by id.
The id of the collaboration.
Get all Collaborations for the current user.
Join a collaboration by the specified invitation id.
The id of invitation ( usually obtained from invitation link). It is returned by function createInvitation.
Remove collaboration by the specified id. Only the owner of Collaboration ia allowed to remove it.
The id of collaboration.
Generated using TypeDoc
A WebCollabClient should be integrated to your application to enable collaboration.
It provides methods to create/get/remove Collaboration and generate Invitation.