public class ImagePrintJob2 extends PrintJob implements Parcelable
ImagePrintJob2.Builder.build()
performs blocking IO so it must be invoked on a background thread.Modifier and Type | Class and Description |
---|---|
static class |
ImagePrintJob2.Builder |
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ImagePrintJob2> |
CREATOR |
ArrayList<String> |
imageFiles
For internal use only.
|
static int |
MAX_HEIGHT |
FLAG_BILL, FLAG_CUSTOMER, FLAG_EXPEDITOR, FLAG_FORCE_SIGNATURE, FLAG_FORCE_TIP, FLAG_MERCHANT, FLAG_NO_SIGNATURE, FLAG_NO_TIP, FLAG_NONE, FLAG_REFUND, FLAG_REPRINT, FLAG_SALE, FLAG_UNLABELED_ITEMS, FLAG_USE_PRINT_GROUP, flags, printToAny
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
protected |
ImagePrintJob2(ImagePrintJob2.Builder builder) |
protected |
ImagePrintJob2(Parcel in) |
Modifier and Type | Method and Description |
---|---|
Category |
getPrinterCategory() |
void |
print(Context context,
Account account,
Printer printer)
Send this PrintJob to the specified printer.
|
void |
writeToParcel(Parcel dest,
int flags) |
cancel, describeContents, print
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents
public static final int MAX_HEIGHT
public static final Parcelable.Creator<ImagePrintJob2> CREATOR
protected ImagePrintJob2(ImagePrintJob2.Builder builder)
protected ImagePrintJob2(Parcel in)
public Category getPrinterCategory()
getPrinterCategory
in class PrintJob
public void print(Context context, Account account, Printer printer)
PrintJob
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
writeToParcel
in class PrintJob