public interface

PdfActivityListener

implements DocumentListener
com.pspdfkit.listeners.PdfActivityListener
Known Indirect Subclasses

Class Overview

This listener allows PdfActivity to receive document events.

Summary

Public Methods
abstract void onSetActivityTitle(PdfActivityConfiguration configuration, 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.
[Expand]
Inherited Methods
From interface com.pspdfkit.listeners.DocumentListener

Public Methods

public abstract void onSetActivityTitle (PdfActivityConfiguration configuration, PdfDocument document)

Called when activity title must be set - before and after document was loaded.

Parameters
configuration Passed activity configuration instance.
document Loaded document. If document hasn't been loaded yet, this parameter will be null.

public 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.