|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
void start() throws android.os.RemoteException
android.os.RemoteException
void startingPrintJob() throws android.os.RemoteException
android.os.RemoteException
void preparePage(int pageNum) throws android.os.RemoteException
num
- page number
android.os.RemoteException
void sendingPage(int pageNum, int progress) throws android.os.RemoteException
num
- page numberprogress
- printing progress in percents
android.os.RemoteException
boolean needCancel() throws android.os.RemoteException
android.os.RemoteException
void finishingPrintJob() throws android.os.RemoteException
android.os.RemoteException
void finish(Result result, int pagesPrinted) throws android.os.RemoteException
result
- number of pages that were printed.pagesPrinted
- number of pages that were printed.
android.os.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |