Partager via


PrintDocumentAdapter.WriteResultCallback.OnWriteFinished(PageRange[]) Method

Definition

Notifies that all the data was written.

[Android.Runtime.Register("onWriteFinished", "([Landroid/print/PageRange;)V", "GetOnWriteFinished_arrayLandroid_print_PageRange_Handler")]
public virtual void OnWriteFinished (Android.Print.PageRange[]? pages);
[<Android.Runtime.Register("onWriteFinished", "([Landroid/print/PageRange;)V", "GetOnWriteFinished_arrayLandroid_print_PageRange_Handler")>]
abstract member OnWriteFinished : Android.Print.PageRange[] -> unit
override this.OnWriteFinished : Android.Print.PageRange[] -> unit

Parameters

pages
PageRange[]

The pages that were written. Cannot be null or empty. <br /> Returning PageRange#ALL_PAGES indicates that all pages that were requested as the pages parameter in #onWrite were written.

Attributes

Remarks

Notifies that all the data was written.

Java documentation for android.print.PrintDocumentAdapter.WriteResultCallback.onWriteFinished(android.print.PageRange[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to