|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIntentAPI
Nested Class Summary | |
---|---|
static class |
IIntentAPI.Stub
Local-side IPC implementation stub class. |
Method Summary | |
---|---|
IPrinterInfo |
getCurrentPrinter()
Tries to get current printer. |
java.util.List<PrintHandOption> |
getFilesOptions()
|
java.util.List<PrintHandOption> |
getImagesOptions()
|
java.util.List<java.lang.String> |
getPrintJobs()
|
boolean |
print(java.lang.String jobName,
IJob job,
int copies)
Starts printing on current printer |
void |
printPHrendering(java.lang.String jobName,
java.lang.String mimeType,
android.net.Uri uri)
|
void |
removePrintJob(java.lang.String printJobName)
|
void |
setDocument(IDocument document)
Sets IDocument for printing. |
void |
setFilesOptions(java.util.List<PrintHandOption> options)
|
void |
setImagesOptions(java.util.List<PrintHandOption> options)
|
void |
setLicense(java.lang.String id,
ISetLicenseCallback licenseCallback)
|
void |
setPrintCallback(IPrintCallback printCallback)
Callback can be set for control printing process. |
void |
setServiceCallback(IServiceCallback serviceCallback)
Callback can be set for control service processes. |
Method Detail |
---|
IPrinterInfo getCurrentPrinter() throws android.os.RemoteException
android.os.RemoteException
boolean print(java.lang.String jobName, IJob job, int copies) throws android.os.RemoteException
job
- namejob
- to be printedcopies
- number
android.os.RemoteException
void setPrintCallback(IPrintCallback printCallback) throws android.os.RemoteException
printCallback
- to be set.
android.os.RemoteException
void setServiceCallback(IServiceCallback serviceCallback) throws android.os.RemoteException
serviceCallback
- to be set.
android.os.RemoteException
void setDocument(IDocument document) throws android.os.RemoteException
printCallback
- to be set.
android.os.RemoteException
void setLicense(java.lang.String id, ISetLicenseCallback licenseCallback) throws android.os.RemoteException
android.os.RemoteException
java.util.List<java.lang.String> getPrintJobs() throws android.os.RemoteException
android.os.RemoteException
void removePrintJob(java.lang.String printJobName) throws android.os.RemoteException
android.os.RemoteException
void printPHrendering(java.lang.String jobName, java.lang.String mimeType, android.net.Uri uri) throws android.os.RemoteException
android.os.RemoteException
java.util.List<PrintHandOption> getImagesOptions() throws android.os.RemoteException
android.os.RemoteException
java.util.List<PrintHandOption> getFilesOptions() throws android.os.RemoteException
android.os.RemoteException
void setImagesOptions(java.util.List<PrintHandOption> options) throws android.os.RemoteException
android.os.RemoteException
void setFilesOptions(java.util.List<PrintHandOption> options) throws android.os.RemoteException
android.os.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |