|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dynamixsoftware.intentapi.IntentAPI
public class IntentAPI
Field Summary | |
---|---|
static java.lang.String |
ACTION_PRINT_DOCUMENT
|
static java.lang.String |
ACTION_PRINT_OBJECT
|
static java.lang.String |
ACTION_PRINTER_LAUCNH_SERVICE
|
static java.lang.String |
ACTION_PRINTER_SETTINGS
|
static java.lang.String |
ACTION_PRINTERS_SETUP
|
Constructor Summary | |
---|---|
IntentAPI(Activity mActivity)
|
Method Summary | |
---|---|
void |
changePrinterOptions()
Starts current printer options change activity. |
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 |
isServiceRunning()
Checks if service is running. |
void |
print(IDocument document)
Starts printing activity. |
boolean |
print(IJob job,
int copies)
Starts printing on current printer without PrintHands UI. |
boolean |
print(java.lang.String jobName,
IJob job,
int copies)
Starts printing on current printer without PrintHands UI. |
void |
print(java.lang.String jobName,
java.lang.String mimeType,
Uri uri)
|
void |
print(Uri uri,
java.lang.String contentType,
java.lang.String description)
Starts printing activity. |
void |
removePrintJob(java.lang.String printJobName)
|
boolean |
runService(IServiceCallback serviceCallback)
Tries to start printing service. |
boolean |
setCallback(IPrintCallback printCallback)
Callback can be set for control printing process. |
void |
setFilesOptions(java.util.List<PrintHandOption> options)
|
void |
setImagesOptions(java.util.List<PrintHandOption> options)
|
void |
setLicense(java.lang.String licenseID,
ISetLicenseCallback licenseCallback)
|
void |
setupCurrentPrinter()
Starts setup printer activity. |
void |
stopService(IServiceCallback serviceCallback)
Stops printing service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ACTION_PRINT_OBJECT
public static final java.lang.String ACTION_PRINT_DOCUMENT
public static final java.lang.String ACTION_PRINTERS_SETUP
public static final java.lang.String ACTION_PRINTER_SETTINGS
public static final java.lang.String ACTION_PRINTER_LAUCNH_SERVICE
Constructor Detail |
---|
public IntentAPI(Activity mActivity)
Method Detail |
---|
public boolean runService(IServiceCallback serviceCallback) throws RemoteException
RemoteException
public void stopService(IServiceCallback serviceCallback)
public boolean isServiceRunning()
public boolean setCallback(IPrintCallback printCallback) throws RemoteException
printCallback
- to be set.
RemoteException
public void print(Uri uri, java.lang.String contentType, java.lang.String description)
uri
- to printing objectcontentType
- mime type of printing objectdescription
- text description that shows in the printing activitypublic void print(IDocument document) throws RemoteException
document
- to print
RemoteException
public IPrinterInfo getCurrentPrinter() throws RemoteException
RemoteException
public void setupCurrentPrinter()
public void changePrinterOptions()
public boolean print(IJob job, int copies) throws RemoteException
job
- to be printedcopies
- number
RemoteException
public boolean print(java.lang.String jobName, IJob job, int copies) throws RemoteException
job
- namejob
- to be printedcopies
- number
RemoteException
public void print(java.lang.String jobName, java.lang.String mimeType, Uri uri) throws RemoteException
RemoteException
public java.util.List<PrintHandOption> getImagesOptions() throws RemoteException
RemoteException
public java.util.List<PrintHandOption> getFilesOptions() throws RemoteException
RemoteException
public void setImagesOptions(java.util.List<PrintHandOption> options) throws RemoteException
RemoteException
public void setFilesOptions(java.util.List<PrintHandOption> options) throws RemoteException
RemoteException
public java.util.List<java.lang.String> getPrintJobs() throws RemoteException
RemoteException
public void removePrintJob(java.lang.String printJobName) throws RemoteException
RemoteException
public void setLicense(java.lang.String licenseID, ISetLicenseCallback licenseCallback)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |