new BlackBoxAnnotationManager(serverRoot, docViewer)
Creates a new instance of BlackBoxAnnotationManager.
Parameters:
Name | Type | Description |
---|---|---|
serverRoot |
string | The blackbox annotation server to contact for annot storing. |
docViewer |
CoreControls.DocumentViewer |
Methods
-
disableCollaboration()
-
Disables collaboration by closing the annotation server connection.
-
initiateCollaboration(The)
-
Opens a connection to the annotation server and sets up collaboration.
Parameters:
Name Type Description The
string document ID of the object to intiate annotation collaboration on. -
preloadAnnotations(An)
-
Preloads existing annotations made without realtime collaboration enabled, will only trigger once on initial collaboration enabling event.
Parameters:
Name Type Description An
Array.<Annotations.Annotation> array of annotation objects.