How to disable "longPressQuickMenu" if someone want to use PDFViewCtrl to view the Pdf?

Product:PDFTron Android SDK

Product Version: Demo

Please give a brief summary of your issue:How to disable “longPressQuickMenu” if someone want to use PDFViewCtrl to view the Pdf?
(Think of this as an email subject)
I want to use PDFViewCtrl class to view the pdf document. I want to do some operation on long-press event. How could i disable quick menu when i do long press on document.?

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi,

Thanks for contacting us!

You can disable the longPressQuickMenu by overriding this listener on the ToolManager class
setQuickMenuDisabled(true)

pdfViewCtrl.getToolManager().setDisableQuickMenu(true);

Best Regards,
Andrew