public interface IPoyntScannerService
extends android.os.IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IPoyntScannerService.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
ScannerStatus |
getScannerStatus(java.lang.String scannerId)
Get the status of scanner for given scanner identified by its id.
|
void |
registerListener(java.lang.String referenceId,
IPoyntScannerListener callback)
register a listener to get barcode from connected scanner.
|
void |
unRegisterListener(java.lang.String referenceId)
unregister a listener.
|
void registerListener(java.lang.String referenceId, IPoyntScannerListener callback) throws android.os.RemoteException
referenceId
- will be passed as a part of listener.callback
- IPoyntScannerListener
android.os.RemoteException
void unRegisterListener(java.lang.String referenceId) throws android.os.RemoteException
referenceId
- will be passed as a part of listener.android.os.RemoteException
ScannerStatus getScannerStatus(java.lang.String scannerId) throws android.os.RemoteException
android.os.RemoteException