blob: 85f59f819adedeeb28178fef69560242c06adda8 [file] [log] [blame]
// Signature format: 4.0
package androidx.pdf.viewer.fragment {
public final class PdfStylingOptions {
ctor public PdfStylingOptions(@StyleRes int containerStyleResId);
method public int getContainerStyleResId();
property public int containerStyleResId;
}
@RequiresExtension(extension=android.os.Build.VERSION_CODES.S, version=13) public class PdfViewerFragment extends androidx.fragment.app.Fragment {
ctor public PdfViewerFragment();
ctor protected PdfViewerFragment(androidx.pdf.viewer.fragment.PdfStylingOptions pdfStylingOptions);
method public final android.net.Uri? getDocumentUri();
method public final boolean isTextSearchActive();
method public final boolean isToolboxVisible();
method public static final androidx.pdf.viewer.fragment.PdfViewerFragment newInstance(androidx.pdf.viewer.fragment.PdfStylingOptions pdfStylingOptions);
method protected boolean onLinkClicked(androidx.pdf.content.ExternalLink externalLink);
method public void onLoadDocumentError(Throwable error);
method public void onLoadDocumentSuccess();
method @SuppressCompatibility @androidx.pdf.ExperimentalPdfApi public void onPdfViewCreated(androidx.pdf.view.PdfView pdfView);
method public void onRequestImmersiveMode(boolean enterImmersive);
method public final void setDocumentUri(android.net.Uri?);
method public final void setTextSearchActive(boolean);
method public final void setToolboxVisible(boolean);
property public final android.net.Uri? documentUri;
property public final boolean isTextSearchActive;
property public final boolean isToolboxVisible;
field public static final androidx.pdf.viewer.fragment.PdfViewerFragment.Companion Companion;
}
public static final class PdfViewerFragment.Companion {
method public androidx.pdf.viewer.fragment.PdfViewerFragment newInstance(androidx.pdf.viewer.fragment.PdfStylingOptions pdfStylingOptions);
}
}