Android.PrintServices.PrintService.OnRequestCancelPrintJob Method
Called when cancellation of a print job is requested.

Syntax

[Android.Runtime.Register("onRequestCancelPrintJob", "(Landroid/printservice/PrintJob;)V", "GetOnRequestCancelPrintJob_Landroid_printservice_PrintJob_Handler")]
protected abstract void OnRequestCancelPrintJob (PrintJob printJob)

See Also

PrintJob.Cancel
PrintJob.IsCancelled

Parameters

printJob
The print job to cancel.

Remarks

Called when cancellation of a print job is requested. The service should do best effort to fulfill the request. After the cancellation is performed, the print job should be marked as cancelled state by calling PrintJob.Cancel.

[Android Documentation]

Requirements

Namespace: Android.PrintServices
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0