Skip to content
Gautam Chibde edited this page Oct 14, 2017 · 6 revisions

Receive Highlight Events

you can get highlight event in your main application when a new highlight is added, removed or modified. the data in the highlight is received as Highlight and its respective action as HighlightAction

folioReader.registerHighlightListener(new OnHighlightListener() {
    @Override
    public void onHighlight(HighLight highlight, HighLight.HighLightAction type) {
        // Do something with the received highlight
    }
);

Clone this wiki locally