destroyReaderViewSearchAgent

Destroys a ReaderViewSearchAgent previously created with createReaderViewSearchAgent. This will cause the agent to remove all ReaderViewAnnotations it has created, and release any used resources.

Note that, annotationLayer passed to createReaderViewSearchAgent will not be destroyed by this method. Call ReaderView.destroyAnnotationLayer with the annotationLayer to destroy it.