PrintActivity

open class PrintActivity : Activity

Container for system print dialog.

As of now it is not possible to restore print attributes after orientation change. To work around this issue we use separate activity that is not restarted on orientations change as context for printing.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getStartIntent(@NonNull context: Context, @NonNull document: PdfDocument, @Nullable printOptions: PrintOptions, @Nullable processorTask: PdfProcessorTask): Intent
Gets intent for starting the print activity.