Android.Print.PrintDocumentAdapter: Method Members

The methods of Android.Print.PrintDocumentAdapter are listed below. For a list of all members, see the PrintDocumentAdapter Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

OnFinish()
Called when printing finishes.
abstract
OnLayout(PrintAttributes, PrintAttributes, Android.OS.CancellationSignal, PrintDocumentAdapter.LayoutResultCallback, Android.OS.Bundle)
Called when the print attributes (page size, density, etc) changed giving you a chance to layout the content such that it matches the new constraints.
OnStart()
Called when printing starts.
abstract
OnWrite(PageRange[], Android.OS.ParcelFileDescriptor, Android.OS.CancellationSignal, PrintDocumentAdapter.WriteResultCallback)
Called when specific pages of the content should be written in the form of a PDF file to the given file descriptor.