Package com.pspdfkit.listeners
Interface PdfActivityListener
-
- All Implemented Interfaces:
-
com.pspdfkit.listeners.DocumentListener
public interface PdfActivityListener implements DocumentListener
This listener allows PdfActivity to receive document events.
-
-
Method Summary
Modifier and Type Method Description abstract void
onSetActivityTitle(@NonNull() PdfActivityConfiguration configuration, @Nullable() PdfDocument document)
Called when activity title must be set - before and after document was loaded. abstract void
onUserInterfaceVisibilityChanged(boolean visible)
Called when user interface visibility have changed. -
-
Method Detail
-
onSetActivityTitle
abstract void onSetActivityTitle(@NonNull() PdfActivityConfiguration configuration, @Nullable() PdfDocument document)
Called when activity title must be set - before and after document was loaded.
- Parameters:
configuration
- Passed activity configuration instance.document
- Loaded document.
-
onUserInterfaceVisibilityChanged
abstract void onUserInterfaceVisibilityChanged(boolean visible)
Called when user interface visibility have changed.
- Parameters:
visible
-true
when UI interface is visible,false
when it is hidden.
-
-
-
-