createSharingOptions

abstract fun createSharingOptions(@NonNull document: PdfDocument, currentPage: Int): SharingOptions

Creates and returns the SharingOptions.

Return

The sharing options you wish to use for the share operation, or null to display the default sharing options dialog.

Parameters

document

The document that is being shared.

currentPage

The page the user is currently on.