Partager via


PrintService.ExtraPrintDocumentInfo Field

Definition

If you declared an optional activity with advanced print options via the android.R.attr#advancedPrintOptionsActivity advancedPrintOptionsActivity attribute, this extra is used to pass in the meta-data for the currently printed document as a android.print.PrintDocumentInfo to your activity allowing you to inspect it.

[Android.Runtime.Register("EXTRA_PRINT_DOCUMENT_INFO", ApiSince=23)]
public const string ExtraPrintDocumentInfo;
[<Android.Runtime.Register("EXTRA_PRINT_DOCUMENT_INFO", ApiSince=23)>]
val mutable ExtraPrintDocumentInfo : string

Field Value

Attributes

Remarks

If you declared an optional activity with advanced print options via the android.R.attr#advancedPrintOptionsActivity advancedPrintOptionsActivity attribute, this extra is used to pass in the meta-data for the currently printed document as a android.print.PrintDocumentInfo to your activity allowing you to inspect it.

Java documentation for android.printservice.PrintService.EXTRA_PRINT_DOCUMENT_INFO.

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