| com.pspdfkit.ui.special_mode.manager.TextSelectionManager |
Known Indirect Subclasses
| PdfFragment |
Fragment that actually displays the PDF document. |
|
Class Overview
Interface for objects that manage a list of text selection listener instances.
Public Methods
Adds a TextSelectionManager.OnTextSelectionChangeListener,
which gets notified when text selection changes in the document, such as different text is selected.
If the listener has already been added previously, this method will be a no-op.
Adding null is not allowed, and will result in an exception.
Parameters
| listener |
Listener to register. Must be non-null. |
Adds a TextSelectionManager.OnTextSelectionModeChangeListener,
which gets notified when entering and exiting a text selection in the document.
If the listener has already been added previously, this method will be a no-op.
Adding null is not allowed, and will result in an exception.
Removes a TextSelectionManager.OnTextSelectionChangeListener,
which gets notified when text selection changes in the document, such as different text is selected.
Upon calling this method the listener will no longer be notified.
If the listener has not been added, this method will be a no-op.
Parameters
| listener |
Listener to unregister. Must be non-null. |
Removes a previously added TextSelectionManager.OnTextSelectionModeChangeListener,
which gets notified when entering and exiting a text selection in the document.
Upon calling this method the listener will no longer be notified.
If the listener has not been added, this method will be a no-op.
Parameters
| listener |
Listener to unregister. Must be non-null. |