PdfPageLinkContent


public final class PdfPageLinkContent extends PdfPageContent


Represents the bounds and link on a page of the PDF document. Weblinks are those links implicitly embedded in PDF pages. Note: Only weblinks that are embedded will be supported. Links encoded as plain text will be returned as part of PdfPageTextContent.

Summary

Public constructors

Public methods

final @NonNull Uri

: Uri embedded in the PDF document.

Inherited methods

From androidx.pdf.content.PdfPageContent
final @NonNull List<@NonNull RectF>

: A list of rectangles defining the content's bounding boxes in PDF coordinates.

Public constructors

PdfPageLinkContent

public PdfPageLinkContent(@NonNull List<@NonNull RectF> bounds, @NonNull Uri uri)
Parameters
@NonNull List<@NonNull RectF> bounds

: Bounds which envelop the URI.

@NonNull Uri uri

: Uri embedded in the PDF document.

Public methods

getUri

Added in 1.0.0-alpha11
public final @NonNull Uri getUri()

: Uri embedded in the PDF document.