Foxit PDF SDK for HarmonyOS  3.0
uiextensions.ILinkEventListener Class Reference

Public Member Functions

 onLinkTapped (annot)
 

Detailed Description

用于监听PDF文档中链接FoxitRDKNative.pdf.annots.Link点击事件的接口

Member Function Documentation

◆ onLinkTapped()

uiextensions.ILinkEventListener.onLinkTapped ( annot  )

当用户点击文档中的链接时触发

Parameters
annot被点击的链接注解对象,具体类型参考FoxitRDKNative.pdf.annots.Link
Returns
返回true表示已处理该事件并阻止继续传播,返回false允许Foxit进行默认处理