Android.PrintServices.PrintService Members

The members of Android.PrintServices.PrintService are listed below.

See Also: Inherited members from Android.App.Service

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ExtraPrinterInfostring. If you declared an optional activity with advanced print options via the NoType:android/R$attr;Href=../../../reference/android/R.attr.html#advancedPrintOptionsActivity attribute, this extra is used to pass in the currently selected printer's Android.Print.PrinterInfo to your activity allowing you to inspect it.
const
ExtraPrintJobInfostring. If you declared an optional activity with advanced print options via the NoType:android/R$attr;Href=../../../reference/android/R.attr.html#advancedPrintOptionsActivity attribute, this extra is used to pass in the currently constructed Android.Print.PrintJobInfo to your activity allowing you to modify it.
const
ServiceInterfacestring. The Android.Content.Intent action that must be declared as handled by a service in its manifest for the system to recognize it as a print service.
const
ServiceMetaDatastring. Name under which a Android.PrintServices.PrintService component publishes additional information about itself.

Public Properties

[read-only]
ActivePrintJobsIList<Android.PrintServices.PrintJob>. Gets the active print jobs for the printers managed by this service.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

GeneratePrinterId(string) : Android.Print.PrinterId
Generates a global printer id given the printer's locally unique one.
override
OnBind(Android.Content.Intent) : Android.OS.IBinder
Return the communication channel to the service.

Protected Methods

override
AttachBaseContext(Android.Content.Context)
Set the base context for this ContextWrapper.
OnConnected()
The system has connected to this service.
abstract
OnCreatePrinterDiscoverySession() : Android.PrintServices.PrinterDiscoverySession
Callback asking you to create a new Android.PrintServices.PrinterDiscoverySession.
OnDisconnected()
The system has disconnected from this service.
abstract
OnPrintJobQueued(Android.PrintServices.PrintJob)
Called when there is a queued print job for one of the printers managed by this print service.
abstract
OnRequestCancelPrintJob(Android.PrintServices.PrintJob)
Called when cancellation of a print job is requested.