PrintDocumentInfo

Class of android.print · PrintDocumentInfo.java · Android's reference

public final class PrintDocumentInfo implements Parcelable

The description of a document to print: its name, page count and content type.

Nested types

Fields

public static final int PAGE_COUNT_UNKNOWN = -1 source
public static final int CONTENT_TYPE_UNKNOWN = -1 source
public static final int CONTENT_TYPE_DOCUMENT = 0 source
public static final int CONTENT_TYPE_PHOTO = 1 source
public static final Parcelable.Creator<PrintDocumentInfo> CREATOR source

Methods

public String getName() source
public int getPageCount() source
public int getContentType() source
public int describeContents() source
public void writeToParcel(Parcel dest, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.