com.dynamixsoftware.intentapi
Interface IPrintCallback

All Known Implementing Classes:
IPrintCallback.Stub

public interface IPrintCallback

Interface is used for printing callbacks.


Nested Class Summary
static class IPrintCallback.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 void finish(Result result, int pagesPrinted)
          Finish of printing.
 void finishingPrintJob()
          Finishing print job.
 boolean needCancel()
           
 void preparePage(int pageNum)
          Preparing page
 void sendingPage(int pageNum, int progress)
          Sending page
 void start()
          Start of the printing.
 void startingPrintJob()
          Actual start of the print job.
 

Method Detail

start

void start()
           throws android.os.RemoteException
Start of the printing.

Throws:
android.os.RemoteException

startingPrintJob

void startingPrintJob()
                      throws android.os.RemoteException
Actual start of the print job.

Throws:
android.os.RemoteException

preparePage

void preparePage(int pageNum)
                 throws android.os.RemoteException
Preparing page

Parameters:
num - page number
Throws:
android.os.RemoteException

sendingPage

void sendingPage(int pageNum,
                 int progress)
                 throws android.os.RemoteException
Sending page

Parameters:
num - page number
progress - printing progress in percents
Throws:
android.os.RemoteException

needCancel

boolean needCancel()
                   throws android.os.RemoteException
Returns:
true to cancel print job, false otherwise.
Throws:
android.os.RemoteException

finishingPrintJob

void finishingPrintJob()
                       throws android.os.RemoteException
Finishing print job.

Throws:
android.os.RemoteException

finish

void finish(Result result,
            int pagesPrinted)
            throws android.os.RemoteException
Finish of printing.

Parameters:
result - number of pages that were printed.
pagesPrinted - number of pages that were printed.
Throws:
android.os.RemoteException