Package com.clover.sdk.v1.printer.job
Class ImagePrintJob
- java.lang.Object
-
- com.clover.sdk.v1.printer.job.PrintJob
-
- com.clover.sdk.v1.printer.job.ImagePrintJob
-
- All Implemented Interfaces:
Parcelable
@Deprecated public class ImagePrintJob extends PrintJob implements Parcelable
Deprecated.UseImagePrintJob2
. This class writes files into external storage that are not cleaned up and can eventually exhaust the device's storage.This class requires WRITE_EXTERNAL_STORAGE permission. Declare the permission in your AndroidManifest.xml
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImagePrintJob.Builder
Deprecated.-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<ImagePrintJob>
CREATOR
Deprecated.File
imageFile
Deprecated.static int
MAX_RECEIPT_WIDTH
Deprecated.protected String
urlString
Deprecated.-
Fields inherited from class com.clover.sdk.v1.printer.job.PrintJob
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
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ImagePrintJob(Bitmap bitmap, int flags)
Deprecated.protected
ImagePrintJob(Parcel in)
Deprecated.protected
ImagePrintJob(ImagePrintJob.Builder builder)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
cancel()
Deprecated.Category
getPrinterCategory()
Deprecated.void
print(Context context, Account account)
Deprecated.Send this PrintJob to the default printer.void
writeToParcel(Parcel dest, int flags)
Deprecated.-
Methods inherited from class com.clover.sdk.v1.printer.job.PrintJob
describeContents, print
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface android.os.Parcelable
describeContents
-
-
-
-
Field Detail
-
MAX_RECEIPT_WIDTH
public static final int MAX_RECEIPT_WIDTH
Deprecated.- See Also:
- Constant Field Values
-
imageFile
public final File imageFile
Deprecated.
-
urlString
protected String urlString
Deprecated.
-
CREATOR
public static final Parcelable.Creator<ImagePrintJob> CREATOR
Deprecated.
-
-
Constructor Detail
-
ImagePrintJob
@Deprecated protected ImagePrintJob(Bitmap bitmap, int flags)
Deprecated.
-
ImagePrintJob
protected ImagePrintJob(ImagePrintJob.Builder builder)
Deprecated.
-
ImagePrintJob
protected ImagePrintJob(Parcel in)
Deprecated.
-
-
Method Detail
-
getPrinterCategory
public Category getPrinterCategory()
Deprecated.- Specified by:
getPrinterCategory
in classPrintJob
-
print
public void print(Context context, Account account)
Deprecated.Description copied from class:PrintJob
Send this PrintJob to the default printer.
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.- Specified by:
writeToParcel
in interfaceParcelable
- Overrides:
writeToParcel
in classPrintJob
-
-