Android.Print Namespace

Provides classes for implementing print support in applications and also contains all base classes and abstractions involved in printing.

Classes

Name Description
PageRange

Represents a range of pages.

PageRange.InterfaceConsts

Provides constants from IParcelable for PageRange.

PrintAttributes

This class represents the attributes of a print job.

PrintAttributes.Builder

Builder for creating PrintAttributes.

PrintAttributes.InterfaceConsts

Provides constants from IParcelable for PrintAttributes.

PrintAttributes.Margins

This class specifies content margins.

PrintAttributes.MediaSize

This class specifies a supported media size.

PrintAttributes.Resolution

This class specifies a supported resolution in DPI (dots per inch).

PrintDocumentAdapter

Base class that provides the content of a document to be printed.

PrintDocumentAdapter.LayoutResultCallback

Base class for implementing a callback for the result of PrintDocumentAdapter#onLayout(PrintAttributes, PrintAttributes, CancellationSignal, LayoutResultCallback, Bundle).

PrintDocumentAdapter.WriteResultCallback

Base class for implementing a callback for the result of PrintDocumentAdapter#onWrite(PageRange[], ParcelFileDescriptor, CancellationSignal, WriteResultCallback).

PrintDocumentInfo

This class encapsulates information about a document for printing purposes.

PrintDocumentInfo.Builder

Builder for creating a PrintDocumentInfo.

PrintDocumentInfo.InterfaceConsts

Provides constants from IParcelable for PrintDocumentInfo.

PrinterCapabilitiesInfo

This class represents the capabilities of a printer.

PrinterCapabilitiesInfo.Builder

Builder for creating of a PrinterCapabilitiesInfo.

PrinterCapabilitiesInfo.InterfaceConsts

Provides constants from IParcelable for PrinterCapabilitiesInfo.

PrinterId

This class represents the unique id of a printer.

PrinterId.InterfaceConsts

Provides constants from IParcelable for PrinterId.

PrinterInfo

This class represents the description of a printer.

PrinterInfo.Builder

Builder for creating of a PrinterInfo.

PrinterInfo.InterfaceConsts

Provides constants from IParcelable for PrinterInfo.

PrintJob

This class represents a print job from the perspective of an application.

PrintJobId

This class represents the id of a print job.

PrintJobId.InterfaceConsts

Provides constants from IParcelable for PrintJobId.

PrintJobInfo

This class represents the description of a print job.

PrintJobInfo.Builder

Builder for creating a PrintJobInfo.

PrintJobInfo.InterfaceConsts

Provides constants from IParcelable for PrintJobInfo.

PrintManager

System level service for accessing the printing capabilities of the platform.

Enums

Name Description
DuplexMode

Specifies one-sided or two-sided printing and the edge used to turn two-sided pages.

PrintColorMode

Enumerates values returned by several types and taken as a parameter of the F:Android.Print.PrintAttributes+Builder.SetColorMode member.

PrintContentType

Enumerates values returned by several types and taken as a parameter of the F:Android.Print.PrintDocumentInfo+Builder.SetContentType member.

PrinterStatus

Enumerates values returned by several types and taken as a parameter of the F:Android.Print.PrinterInfo+Builder..ctor, and F:Android.Print.PrinterInfo+Builder.SetStatus members.

PrintJobState

Enumerates values returned by several types.