Search PDF annotations on Android
Nutrient Android SDK searches annotation and form field text by default, without additional setup. Search includes note comments, replies, text fields, combo boxes, and list boxes.
For feature details, refer to the replies guide and the forms guide.
To exclude annotation text, set SearchOptions.Builder#searchAnnotations() to false, and pass the options to performSearch:
val searchOptions = SearchOptions.Builder() .searchAnnotations(false) .build()
val results = textSearch.performSearch(query, searchOptions)SearchOptions searchOptions = new SearchOptions.Builder() .searchAnnotations(false) .build();
final List<SearchResult> results = textSearch.performSearch(query, searchOptions);For search APIs and customization options, refer to the text search guide.