Which parameters to pass in the setActiveSearchResult() method

I wanted to know which parameters to pass in the setActiveSearchResult() method to set annotation.

I currently have an xml file which I use to highlight annotation using the import annotation method and I want to use setActiveSearchResult() method to do the same.

The setActiveSearchResult() API accepts a Core.DocumentViewer.SearchResult instance, you can check the docs.