com.dynamixsoftware.intentapi
Interface IPrinterInfo
- All Known Implementing Classes: 
 - IPrinterInfo.Stub
 
public interface IPrinterInfo
Interface describes printers info.
| 
Nested Class Summary | 
static class | 
IPrinterInfo.Stub
 
          Local-side IPC implementation stub class. | 
 
 
getType
int getType()
            throws android.os.RemoteException
- Returns:
 - printer type.
 wi-fi == 0
 bluetooth == 1
 cloud == 2
 smb == 3
 usb == 4
 PrintHand client ==5
 - Throws:
 android.os.RemoteException
 
getOwner
java.lang.String getOwner()
                          throws android.os.RemoteException
- Returns:
 - printer owner.
 - Throws:
 android.os.RemoteException
 
getName
java.lang.String getName()
                         throws android.os.RemoteException
- Returns:
 - printer name.
 - Throws:
 android.os.RemoteException
 
getDescription
java.lang.String getDescription()
                                throws android.os.RemoteException
- Returns:
 - printer description.
 - Throws:
 android.os.RemoteException
 
getPrinterContext
IPrinterContext getPrinterContext()
                                  throws android.os.RemoteException
- Returns:
 - printer context.
 - Throws:
 android.os.RemoteException
 
getOptions
java.util.List<PrinterOption> getOptions()
                                         throws android.os.RemoteException
- Returns:
 - printers option list.
 - Throws:
 android.os.RemoteException
 
getOptionValue
PrinterOptionValue getOptionValue(PrinterOption option)
                                  throws android.os.RemoteException
- Returns:
 - current option value.
 - Throws:
 android.os.RemoteException
 
getOptionValueList
java.util.List<PrinterOptionValue> getOptionValueList(PrinterOption option)
                                                      throws android.os.RemoteException
- Returns:
 - printers option values list.
 - Throws:
 android.os.RemoteException
 
setOption
boolean setOption(PrinterOption option,
                  PrinterOptionValue value)
                  throws android.os.RemoteException
- Changes option value
 option to be changed
 value to be set
- Returns:
 - true if printers context changed, false otherwise
 - Throws:
 android.os.RemoteException