Builder

constructor(context: Context)

Creates a builder for the document sharing dialog configuration.

Parameters

context

Context of the calling component.


constructor(context: Context, document: PdfDocument, @IntRange(from = 0) currentPage: Int)

Creates a builder for the document sharing dialog configuration.

Parameters

context

Context of the calling component.

document

Document that is going to be shared.

currentPage

Currently displayed page.


constructor(context: Context, shareAction: ShareAction, document: PdfDocument, @IntRange(from = 0) currentPage: Int)

Creates a builder for the document sharing dialog configuration.

Parameters

context

Context of the calling component.

shareAction

Share action that governs dialog title and buttons.

document

Document that is going to be shared.

currentPage

Currently displayed page.