Package | Description |
---|---|
com.cloudpos |
The package provides the fundamental interfaces and classes for interacting with a
variety of devices in a point-of-sale (POS) system.
|
com.cloudpos.advance.ext |
This package provides access to high-level APIs for advance operations.
|
com.cloudpos.advance.ext.pinpad |
This package provides access to high-level APIs for PINPad operations.
|
com.cloudpos.advance.ext.scanner |
This package provides access to Barcode Scanner operations.
|
com.cloudpos.advance.ext.system |
This package provides access to high-level APIs for system operations.
|
com.cloudpos.advance.ext.system.admin |
This package provides access to high-level APIs for POS administrator operations.
|
com.cloudpos.advance.ext.system.app |
This package provides access to high-level APIs for application operations.
|
com.cloudpos.advance.ext.system.battery |
This package provides access to high-level APIs for Battery operations.
|
com.cloudpos.advance.ext.system.bluetooth |
This package provides access to Bluetooth device.
|
com.cloudpos.advance.ext.system.home |
This package provides access to high-level APIs for system's default desktop(home) operations.
|
com.cloudpos.advance.ext.system.location |
This package provides access to Location device.
|
com.cloudpos.advance.ext.system.network |
This package provides access to high-level APIs for Network device operations.
|
com.cloudpos.card |
This package provides access to various types of card interfaces.
|
com.cloudpos.fingerprint |
This package provides the necessary classes and interfaces to interact with the fingerprint device.
|
com.cloudpos.hsm |
This package provides access to the hardware security module (HSM) device.
|
com.cloudpos.led |
This package provides access to LED devices.
|
com.cloudpos.msr |
This package provides access to the Magnetic Stripe Reader (MSR) device.
|
com.cloudpos.pinpad |
This package provides access to functionalities related to the PINPad device.
|
com.cloudpos.pinpad.extend |
This package extends the standard PINPad device functionalities provided in the
com.cloudpos.pinpad package. |
com.cloudpos.printer |
The package provides classes and interfaces for interacting with printer devices in the CloudPOS system.
|
com.cloudpos.rfcardreader |
This package provides access to the contactless card reader device functionalities.
|
com.cloudpos.serialport |
The package is designed for handling serial port communication in the CloudPOS system.
|
com.cloudpos.signature |
The package is designed for managing signature capture in the CloudPOS system.
|
com.cloudpos.smartcardreader |
The package is designed for interacting with smart card reader devices in the CloudPOS system.
|
com.cloudpos.usb |
The package is designed to facilitate interaction with double USB devices in the CloudPOS system.
|
Modifier and Type | Method and Description |
---|---|
void |
Device.cancelRequest()
Attempts to cancel a pending request initiated by the
Device object. |
void |
Device.close()
Disconnects the device from the
Device object. |
boolean |
TerminalSpec.isDetachedFromVendingDevice()
Check whether the current state is detached from the vending device.
|
void |
Device.open()
Opens the device for use with a default logical ID.
|
void |
LogHelper.setLogLevel(int level)
Set the log security level
|
Modifier and Type | Method and Description |
---|---|
void |
IAdvanceDevice.close()
Disconnect a device from the device object.
|
boolean |
IAdvanceDevice.open(android.content.Context context)
Uses default logical ID to open the device for use.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IPINPadDevice.resetMasterKey(int slot)
reset the master key to 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38
|
boolean |
IPINPadDevice.resetTransferKey(int slot)
reset the transfer key for random.
|
Modifier and Type | Method and Description |
---|---|
IScannerDevice.ScanType |
IScannerDevice.getScanType(int index) |
ScanResult |
IScannerDevice.scanBarcode(ScanParameter parameter)
synchronous scan
|
void |
IScannerDevice.startScan(ScanParameter parameter,
IScanCallBack callBack)
start Asynchronous scan
|
boolean |
IScannerDevice.stopScan()
stop scanner
|
Modifier and Type | Method and Description |
---|---|
String |
ISystemDevice.getAccessibilityService()
Get the current Accessibility Service.
|
IAdminDevice |
ISystemDevice.getAdminManager()
get the Admin manager
|
IBatteryDevice |
ISystemDevice.getBatteryManager()
get the Battery manager
|
IBluetoothDevice |
ISystemDevice.getBluetoothManager()
get the Bluetooth manager
|
IHomeDevice |
ISystemDevice.getHomeManager()
get the home manager
|
ILocationDevice |
ISystemDevice.getLocationManager()
get the location manager object to retrieve latitude and longitude information and to set the location level and location SDK.
|
boolean |
ISystemDevice.getMtpStatus()
Get MTP Status
|
INetworkDevice |
ISystemDevice.getNetworkManager()
get the manager for network devices
(including Ethernet management, WiFi management, and APN management).
|
String |
ISystemDevice.getRebootTimeByEveryDay() |
boolean |
ISystemDevice.getShowTouchesState()
get ‘show touches’ state for enable or disable.
|
boolean |
ISystemDevice.getStatusbarSettingsButtonVisibility()
get statusbar settings button status.
|
String |
ISystemDevice.getTouchScreenWakeupValue() |
IUpdateAppDevice |
ISystemDevice.getUpdateAppManager()
get the UpdateApp manager
|
boolean |
ISystemDevice.isEnableAutoTime()
get status for enable/disable auto time item.
|
boolean |
ISystemDevice.isEnableAutoTimeGUI()
get status for enable/disable auto time item GUI.
|
boolean |
ISystemDevice.isEnableAutoTimezone()
get status for enable/disable auto timezone item.
|
boolean |
ISystemDevice.isEnableAutoTimezoneGUI()
get status for enable/disable auto timezone item GUI.
|
boolean |
ISystemDevice.isEnableBluetooth()
Get the current Bluetooth status (enabled or disabled).
|
boolean |
ISystemDevice.isEnableCamera()
Get the current Camera status (enabled or disabled).
|
boolean |
ISystemDevice.isEnableUsb()
Get the current Camera status (enabled or disabled).
|
boolean |
ISystemDevice.isEnableWifi()
Get the current Wi-Fi status (enabled or disabled).
|
boolean |
ISystemDevice.isPowerKeyBlocked()
check PowerKey Button 's block status.
|
boolean |
ISystemDevice.isTerminalRooted()
Is the current terminal rooted.
|
boolean |
ISystemDevice.reboot()
reboot terminal
|
boolean |
ISystemDevice.setAccessibilityService(boolean enable,
String packageName,
String className)
set the Accessibility Service .
|
void |
ISystemDevice.setAirplaneMode(boolean enable)
enable/disable Airplane Mode
|
void |
ISystemDevice.setAutoTime(boolean enable)
enable/disable auto time item.
|
void |
ISystemDevice.setAutoTimeGUI(boolean enable)
enable/disable show auto time item GUI.
|
void |
ISystemDevice.setAutoTimezone(boolean enable)
enable/disable auto timezone item.
|
void |
ISystemDevice.setAutoTimezoneGUI(boolean enable)
enable/disable show auto timezone item GUI.
|
boolean |
ISystemDevice.setBluetooth(boolean enable)
Enable or Disable the bluetooth device
|
boolean |
ISystemDevice.setCamera(boolean enable)
Enable or Disable the USB device
|
boolean |
ISystemDevice.setCustomAttribute(String key,
String value)
Set "persist.wp.usr.${key}"'s property , max count = 10.
|
boolean |
ISystemDevice.setDeviceOwner(String pkg,
String deviceCls) |
boolean |
ISystemDevice.setLanguage(String language,
String country,
String variant)
set Language
|
void |
ISystemDevice.setMtp(boolean enable)
Enable/Disable MTP
|
void |
ISystemDevice.setPasswordLock(boolean enable,
String password)
Sets a password to unlock the device.
|
void |
ISystemDevice.setPatternLock(boolean enable,
String pattern)
Sets a pattern to unlock the device.
|
void |
ISystemDevice.setPinLock(boolean enable,
String pin)
Sets a numeric PIN to unlock the device.
|
void |
ISystemDevice.setPowerKeyBlocked(boolean enable)
Block or Release The Power Key
|
boolean |
ISystemDevice.setRebootTimeByEveryDay(int hour,
int minute,
int second) |
boolean |
ISystemDevice.setRestrictBackground(boolean enable)
enable/disable Data Saver Mode。
|
boolean |
ISystemDevice.setScreenOffTimeout(int milliseconds)
Added by Stone for task #22834 to add a interface to set screen off timeout.
|
void |
ISystemDevice.setShowTouches(boolean enable)
Enabling ‘show touches’ in Android screen recordings for user research.
|
void |
ISystemDevice.setStatusBarLocked(boolean lock)
Set the status bar locked as true will make the status bar can not be pull down.
|
void |
ISystemDevice.setStatusbarSettingsButtonVisibility(boolean visibility)
visibility/hide statusbar settings button
|
boolean |
ISystemDevice.setTouchScreenWakeupValue(String touch) |
boolean |
ISystemDevice.setUnknownSources(String packageName,
boolean enable)
Enable packageName the permission to install apps from unknown sources.
|
boolean |
ISystemDevice.setUsb(boolean enable)
Enable or Disable the USB device
|
boolean |
ISystemDevice.setWifi(boolean enable)
Enable or Disable the Wi-Fi device
|
boolean |
ISystemDevice.shutdown(boolean confirm,
String reason,
boolean wait)
Turn off the device.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IAdminDevice.forceModifyAdminPwd(String newPwd)
Forced modify of administrator password.
|
boolean |
IAdminDevice.forceModifyUserPwd(String newPwd)
Forced modify of user password.
|
boolean |
IAdminDevice.isAdminLoggedIn()
Is the administrator logged in
|
boolean |
IAdminDevice.isAdminPwd(String pwd)
verify Administrator password.
|
boolean |
IAdminDevice.isUserLoggedIn()
Is the administrator logged in
|
boolean |
IAdminDevice.isUserLoginMode()
Is enable mode UserLogin
|
boolean |
IAdminDevice.setUserLoginMode(boolean enable)
Enable UserLogin mode.
|
boolean |
IAdminDevice.verifyUserPwd(String pwd)
verify Administrator password.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IUpdateAppDevice.installAndLaunchApkFile(String apkFilePath,
int type,
String packageName,
String classNameOrAction) |
int |
IUpdateAppDevice.installApkFile(String apkFilePath) |
boolean |
IUpdateAppDevice.uninstall(String packageName)
uninstall app
|
Modifier and Type | Method and Description |
---|---|
int |
IBatteryDevice.getBatteryLevel()
Get battery level
|
boolean |
IBatteryDevice.isAutoCounterMode()
Is the Auto Counter Mode
|
boolean |
IBatteryDevice.isCounterMode()
Is the Counter Mode
|
boolean |
IBatteryDevice.setAutoCounterMode(boolean enable) |
boolean |
IBatteryDevice.setCounterMode(boolean enable) |
Modifier and Type | Method and Description |
---|---|
boolean |
IBluetoothDevice.cancelPairedBluetoothDevice(String mac)
cancel Paired Bluetooth device
|
boolean |
IBluetoothDevice.pairBluetoothDevice(String mac,
String pin)
Pair with Bluetooth device
|
Modifier and Type | Method and Description |
---|---|
void |
IHomeDevice.setNotificationBadge(boolean visible)
Hide the notification corner that shows the app
|
Modifier and Type | Method and Description |
---|---|
ILocationDevice.Level |
ILocationDevice.getLevel()
Location Level
|
Location |
ILocationDevice.getLocation()
Get the current location information
|
void |
ILocationDevice.setParameter(String key,
String value)
set Parameter
|
Modifier and Type | Method and Description |
---|---|
String |
IApnDevice.add(String name,
String apn) |
String |
IApnDevice.addByAllArgs(String name,
String apn,
String mcc,
String mnc,
String proxy,
String port,
String MMSProxy,
String MMSPort,
String userName,
String server,
String password,
String MMSC,
String authType,
String protocol,
String roamingProtocol,
String type,
String bearer,
String MVNOType,
String MVNOMatchData) |
String |
IApnDevice.addByMCCAndMNC(String name,
String apn,
String mcc,
String mnc) |
boolean |
IApnDevice.clear() |
boolean |
IApnDevice.clearWithSlot(int slot) |
IApnDevice |
INetworkDevice.getApnManager()
get The Apn manager
|
IEthernetDevice |
INetworkDevice.getEthernetManager()
get The Ethernet manager
|
int |
INetworkDevice.getPreferredNetworkType(int phoneId)
Get the preferred network type.
|
Map |
IApnDevice.getSelected() |
IpBean |
IEthernetDevice.getStaticIp() |
NetworkType[] |
INetworkDevice.getSupportedNetworkTypes()
get supported network type array
NetworkMode: name, modeId;
|
IWifiDevice |
INetworkDevice.getWifiManager()
get The wifi manager
|
boolean |
IEthernetDevice.isEnabledEthernet()
Is enable Ethernet : enable or disable.
|
boolean |
IEthernetDevice.isStaticIp()
Check the current Ethernet IP status.
|
List |
IApnDevice.query(String columnName,
String value) |
List |
IApnDevice.queryByName(String value) |
boolean |
IWifiDevice.removeWifiSSID(String ssid)
Remove a SSID from the saved Wi-Fi list
|
void |
IEthernetDevice.setEthernet(boolean enable)
enable/disable Ethernet device
|
boolean |
INetworkDevice.setMobileDataEnabled(int slot,
boolean enable)
Added by Stone for task #22857 to add a interface to enable/disable mobile data.
|
boolean |
INetworkDevice.setMobileDataRoamingEnabled(int slot,
int roaming)
enable/disable mobile data roaming.
|
boolean |
INetworkDevice.setPreferredNetworkType(int subId,
int networkType)
Set the preferred network type.
|
boolean |
IApnDevice.setSelected(String name) |
boolean |
IEthernetDevice.setStaticIp(IpBean ipBean)
set the Ethernet static IP.
|
Modifier and Type | Method and Description |
---|---|
ATR |
CPUCard.connect()
Connects to the card and retrieves the ATR (Answer To Reset) information for contact cards,
or the ATS (Answer To Select) for contactless cards.
|
ATR |
SLE4442Card.connect()
Powers up and performs a cold reset on the smart card reader slot.
|
boolean |
MifareCard.decreaseValue(int sectorIndex,
int blockOfSector,
int value)
Decreases the E-Wallet data value in a block.
|
int |
CPUCard.detectCardStatus()
check if the contactless card presented in the field or not
|
void |
CPUCard.disconnect()
Disconnects the card from the card reader.
|
void |
SLE4442Card.disconnect()
Powers down the smart card reader slot.
|
int |
Card.getCardStatus()
Retrieves the current status of the card in the card slot.
|
byte[] |
Card.getID()
Retrieves the ID of the card.
|
byte[] |
Card.getIDInfo()
Retrieves extended ID information of the card.
|
int |
Card.getProtocol()
Retrieves the protocol used for communication between the card and the card slot.
|
boolean |
MifareCard.increaseValue(int sectorIndex,
int blockOfSector,
int value)
Increases the E-Wallet data value in a block.
|
byte[] |
MifareUltralightCard.read(int blockIndex)
Reads 4 consecutive blocks (16 bytes) from a MIFARE Ultralight card.
|
byte[] |
SLE4442Card.read(int area,
int address,
int length)
Reads data from a specified area of the card.
|
byte[] |
MifareCard.readBlock(int sectorIndex,
int blockOfSector)
Reads data from a specified block within a sector.
|
MoneyValue |
MifareCard.readValue(int sectorIndex,
int blockOfSector)
Reads E-Wallet data from a specified block.
|
byte[] |
FelicaCard.transmit(byte[] apdu)
Transmits a data buffer to the Felica card reader.
|
byte[] |
CPUCard.transmit(byte[] apdu)
Transmits an APDU command to the card reader and receives a response.
|
byte[] |
MifareCard.transmit(byte[] apdu,
int operation)
Transmits a command at level 3 and receives a response.
|
byte[] |
CPUCard.transmit(byte[] apdu,
int operation)
Transmits a Level 3 command to a contactless (RF) card and retrieves the response.
|
byte[] |
MifareUltralightCard.transmit(byte[] apdu,
int operation)
Transmits a level 3 command to the card and receives the response.
|
boolean |
SLE4442Card.verify(byte[] key)
Authenticates the card using the provided key.
|
boolean |
MifareUltralightCard.verifyKey(byte[] key)
Authenticates the card using a 16-byte key.
|
boolean |
MifareCard.verifyKeyA(int sectorIndex,
byte[] key)
Authenticates a sector with Key A.
|
boolean |
MifareCard.verifyKeyB(int sectorIndex,
byte[] key)
Authenticates a sector with Key B.
|
void |
MifareUltralightCard.write(int blockIndex,
byte[] data)
Writes data to a single block (4 bytes) on a MIFARE Ultralight card.
|
void |
SLE4442Card.write(int area,
int address,
byte[] data)
Writes data to a specified area of the card.
|
void |
MifareCard.writeBlock(int sectorIndex,
int blockOfSector,
byte[] buffer)
Writes data to a specified block within a sector.
|
void |
MifareCard.writeValue(int sectorIndex,
int blockOfSector,
MoneyValue value)
Writes data to the E-Wallet in a specified block.
|
Modifier and Type | Method and Description |
---|---|
int |
FingerprintDevice.compare(byte[] arryISObuffer1,
byte[] arryISObuffer2)
Compares two sets of fingerprint minutiae data in ISO 2005 format and returns a dissimilarity score.
|
int |
FingerprintDevice.compareByFormat(byte[] arryBuffer1,
int format1,
byte[] arryBuffer2,
int format2)
Compares two sets of fingerprint minutiae data based on their respective formats.
|
byte[] |
FingerprintDevice.convertFormat(byte[] dataBuffer,
int srcFormat,
int outFormat)
Converts fingerprint data from a specified source format to the ISO IEC 19794-2-2005 format.
|
int |
FingerprintDevice.convertFormat(Fingerprint fingerprintIn,
int typeIn,
Fingerprint fingerprintOut,
int typeOut)
Converts a fingerprint from one specified format to another.
|
int |
FingerprintDevice.delAllFingers()
Deletes all stored fingerprints from the device.
|
int |
FingerprintDevice.delFinger(int userID)
Deletes the fingerprint data associated with a specified user ID.
|
int |
FingerprintDevice.enroll(int userID,
int timeout)
Enrolls a new fingerprint and associates it with a specified user ID.
|
Fingerprint |
FingerprintDevice.getFingerprint(int type)
Retrieves the currently active (scanned) fingerprint in a specified format.
|
Fingerprint |
FingerprintDevice.getFingerprint(int userID,
int type)
Retrieves a fingerprint associated with a given user ID in the specified format.
|
int |
FingerprintDevice.getId()
Retrieves the identification number of a previously scanned fingerprint.
|
int[] |
FingerprintDevice.identify(byte[] targetISObuffer,
List arryISObuffers,
int candidatesRequested)
Compares a single fingerprint against a list of candidate fingerprints and ranks the matches.
|
int[] |
FingerprintDevice.listAllFingersStatus()
Lists the status of all fingerprints stored in the device.
|
void |
FingerprintDevice.listenForEnroll(OperationListener listener,
int timeout)
Initiates an asynchronous process to enroll a fingerprint.
|
void |
FingerprintDevice.listenForFingerprint(OperationListener listener,
int timeout)
Initiates an asynchronous operation to scan a fingerprint.
|
int |
FingerprintDevice.match(Fingerprint fingerprint1,
Fingerprint fingerprint2)
Compares two fingerprints and returns the percentage of similarity.
|
void |
FingerprintDevice.open(int logicalID)
Opens the fingerprint device with a specified communication mode.
|
int |
FingerprintDevice.storeFeature(int userID,
Fingerprint fingerprint)
Stores a fingerprint and associates it with a specified user ID.
|
int |
FingerprintDevice.verifyAgainstFingerprint(Fingerprint fingerprint,
int timeout)
Verifies the currently active fingerprint against a specified fingerprint within a given timeout period.
|
int |
FingerprintDevice.verifyAgainstUserId(int userID,
int timeout)
Verifies the currently active fingerprint against the fingerprint associated with a specified user ID.
|
int |
FingerprintDevice.verifyAll(int timeout)
Verifies the currently scanned fingerprint against all stored fingerprints in the device.
|
FingerprintOperationResult |
FingerprintDevice.waitForFingerprint(int timeout)
Synchronously scans for a fingerprint within a specified timeout period.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
HSMDevice.decrypt(int algorithm,
String aliasPrivateKey,
byte[] bufCipher)
Decrypts data using the specified private key.
|
boolean |
HSMDevice.deleteCertificate(int certType,
String alias)
Deletes a specified certificate from the HSM.
|
boolean |
HSMDevice.deleteKeyPair(String aliasPrivateKey)
Deletes a key pair from the HSM based on the provided alias.
|
byte[] |
HSMDevice.encrypt(int algorithm,
String aliasPrivateKey,
byte[] bufPlain)
Encrypts data using the specified private key.
|
byte[] |
HSMDevice.generateCSR(String aliasPrivateKey,
X500Principal subject)
Generates a Certificate Signing Request (CSR) for a given private key.
|
void |
HSMDevice.generateKeyPair(String aliasPrivateKey,
int algorithm,
int keySize)
Requests the HSM to generate a new key pair.
|
byte[] |
HSMDevice.generateRandom(int length)
Generates a random buffer from the HSM.
|
byte[] |
HSMDevice.getCertificate(int certType,
String alias,
int dataFormat)
Retrieves the specified certificate from the HSM.
|
String |
HSMDevice.getEncryptedUniqueCode(String uniqueCode,
String randomFactor)
Retrieves the encrypted unique code, a feature primarily used in China.
|
long |
HSMDevice.getFreeSpace()
Determines the available free space within the HSM.
|
boolean |
HSMDevice.injectPublicKeyCertificate(String alias,
String aliasPrivateKey,
byte[] bufCert,
int dataFormat)
Injects a public key certificate associated with an existing key pair into the HSM.
|
boolean |
HSMDevice.injectRootCertificate(int certType,
String alias,
byte[] bufCert,
int dataFormat)
Injects root certificates into the HSM.
|
boolean |
HSMDevice.isKeyExist(int keyID)
Checks if a specified key exists in the HSM.
|
boolean |
HSMDevice.isKeyExist(int keyID,
int algorithm)
Deprecated.
Use
HSMDevice.isKeyExist(int) instead. |
boolean |
HSMDevice.isTampered()
Checks if the HSM is tampered with.
|
byte[] |
HSMDevice.keyDecrypt_v1(int keyID,
int algorithm,
int mode,
byte[] byteData,
byte[] IV)
Decrypts data using a specified key stored in the HSM (version 1).
|
int |
HSMDevice.keyDecrypt(int keyID,
int algorithm,
int mode,
byte[] byteData,
byte[] IV)
Deprecated.
|
byte[] |
HSMDevice.keyEncrypt_v1(int keyID,
int algorithm,
int mode,
byte[] byteData,
byte[] IV)
Encrypts data using a specified key stored in the HSM (version 1).
|
int |
HSMDevice.keyEncrypt(int keyID,
int algorithm,
int mode,
byte[] byteData,
byte[] IV)
Deprecated.
|
void |
HSMDevice.open(int logicalID)
Opens the hardware security module for use.
|
String[] |
HSMDevice.queryCertificates(int certType)
Queries the HSM for certificates of a specific type.
|
boolean |
HSMDevice.resetSensorStatus()
Resets the sensor status, useful for small batteries.
|
int |
HSMDevice.updateKey(int keyID,
int algorithm,
byte[] byteData)
Updates a key in the HSM.
|
int |
HSMDevice.updateSM4Key(int keyID,
byte[] keyBuffer,
byte[] signature)
Updates an SM4 key.
|
Modifier and Type | Method and Description |
---|---|
void |
LEDDevice.blink(byte color,
long delayTurnOn,
long delayTurnOff,
int counts)
Causes the LED to blink a specified number of times with specified durations for ON and OFF states and a specific color.
|
void |
LEDDevice.blink(long delayTurnOn,
long delayTurnOff,
int counts)
Causes the LED to blink a specified number of times with specified durations for ON and OFF states.
|
void |
LEDDevice.cancelBlink()
Cancels any ongoing LED blinking operation.
|
int |
LEDDevice.getLogicalID()
Retrieves the current logical ID of the LED in use.
|
int |
LEDDevice.getStatus()
Retrieves the current status of the LED.
|
void |
LEDDevice.open(int logicalID)
Opens the specified LED for control.
|
void |
LEDDevice.startBlink(byte color,
long delayTurnOn,
long delayTurnOff,
int counts)
Initiates a continuous blinking pattern for the LED with a specified color.
|
void |
LEDDevice.startBlink(long delayTurnOn,
long delayTurnOff)
Initiates a continuous blinking pattern for the LED.
|
void |
LEDDevice.startBlink(long delayTurnOn,
long delayTurnOff,
int counts)
Initiates a continuous blinking pattern for the LED.
|
void |
LEDDevice.turnOff()
Turns the LED off.
|
void |
LEDDevice.turnOn()
Turns the LED on.
|
Modifier and Type | Method and Description |
---|---|
void |
MSRDevice.listenForSwipe(OperationListener listener,
int timeout)
Initiates an asynchronous operation to read data from selected tracks of a swiped card.
|
void |
MSRDevice.open(int logicalID)
Opens a connection to the MSR device using a specified logical ID.
|
MSROperationResult |
MSRDevice.waitForSwipe(int timeout)
A synchronous version of
MSRDevice.listenForSwipe(OperationListener, int) . |
Modifier and Type | Method and Description |
---|---|
byte[] |
PINPadDevice.calculateMac(KeyInfo keyInfo,
int macFlag,
byte[] plain)
Calculates the MAC using the current user key as defined in KeyInfo.
|
byte[] |
PINPadDevice.calculateMac(KeyInfo keyInfo,
int macFlag,
byte[] plain,
int nKeyVar)
Calculates the MAC using the current user key as defined in KeyInfo.
|
byte[] |
PINPadDevice.calculateResponseMac(KeyInfo keyInfo,
byte[] plainData,
int macFlag)
Calculates the MAC (Message Authentication Code) using the TDUKPT method and a response MAC key.
|
int |
PINPadDevice.changePin(KeyInfo keyInfo,
byte[] cardNum,
byte[] pinOld,
byte[] pinNew,
int[] lengthResult,
int timeout)
Changes the user's PIN.
|
void |
PINPadDevice.clearText()
Clears any displayed text from the PINPad's LCD screen.
|
int |
PINPadDevice.createPin(KeyInfo keyInfo,
byte[] cardNum,
byte[] pinNew,
int timeout,
int nFlagSound)
Creates a new PIN.
|
byte[] |
PINPadDevice.encryptData(KeyInfo keyInfo,
byte[] plain)
Encrypts data using the specified key.
|
byte[] |
PINPadDevice.encryptData(KeyInfo keyInfo,
byte[] plain,
int mode,
byte[] IV,
int IVLen)
Encrypts data using the user-specified key with additional encryption options.
|
int |
PINPadDevice.getDukptAesStatus(int dukptID,
byte[] KSNBuf)
Gets the status of a DUKPT Key.
|
int |
PINPadDevice.getDukptStatus(int dukptID,
byte[] KSNBuf)
Gets the status of a DUKPT Key.
|
int |
PINPadDevice.getLastPINLength()
Retrieves the length of the last input PIN.
|
int |
PINPadDevice.getMkStatus(int mkId)
Checks the status of a Master Key.
|
byte[] |
PINPadDevice.getRandom(int length)
Generates random data of a specified length.
|
byte[] |
PINPadDevice.getSessionKeyCheckValue(int masterKeyID,
int userKeyID,
int algoCheckValue)
Retrieves the check value for a session key.
|
int |
PINPadDevice.getSkStatus(int mkId,
int skID)
Checks the status of a Session Key.
|
String |
PINPadDevice.getSN()
Retrieves the serial number of the PINPad device.
|
void |
PINPadDevice.listenForOfflinePin(boolean voicePrompt,
OperationListener listener,
int timeout)
Waits for the user to enter their offline PIN.
|
void |
PINPadDevice.listenForPinBlock(KeyInfo keyInfo,
String pan,
boolean voicePrompt,
OperationListener listener,
int timeout)
Listens for user PIN input and calculates the encrypted PIN block asynchronously.
|
void |
PINPadDevice.listenForPinBlock(KeyInfo keyInfo,
String pan,
boolean voicePrompt,
OperationListener listener,
int timeout,
int mode,
byte[] IV)
Asynchronously listens for user PIN input and calculates an encrypted PIN block with a specific mode.
|
void |
PINPadDevice.open(int logicalID)
Opens the PINPad device for operation.
|
int |
PINPadDevice.selectPinblockFormat(int nPinblockFormat)
Selects the pinblock format to use.
|
boolean |
PINPadDevice.setAllowByPass(boolean allow)
Allows or disallows bypassing the PIN for online EMV transactions.
|
boolean |
PINPadDevice.setGlobalGUIConfiguration(String key,
String value)
Configures the PINPAD Global GUI, including style, sound, and colors.
|
boolean |
PINPadDevice.setGUIConfiguration(int flag,
byte[] data)
Configures the PINPAD GUI.
|
boolean |
PINPadDevice.setGUIConfiguration(String key,
String value)
Configures the PINPAD GUI, including style, sound, and colors.
|
void |
PINPadDevice.setPINLength(int minLen,
int maxLen)
Sets the minimum and maximum length of the PIN to be entered by the user.
|
boolean |
PINPadDevice.setupCallbackHandler(PinPadCallbackHandler handler)
Sets up a callback for customizing the PINPAD UI.
|
void |
PINPadDevice.showText(int lineIndex,
String message)
Displays a text message on the PINPad's LCD screen.
|
void |
PINPadDevice.showText(int lineIndex,
String message,
boolean voicePrompt)
Displays a text message on the PINPad's LCD screen.
|
void |
PINPadDevice.updateMasterKey(int masterKeyID,
byte[] oldMasterKey,
byte[] newMasterKey)
Updates the master key used by the PINPad device.
|
void |
PINPadDevice.updateMasterKeyWithCheck(int masterKeyID,
byte[] cipherNewMasterKey,
byte[] checkValue,
int algoCheckValue)
Updates the master key, which must be encrypted by a transport key.
|
void |
PINPadDevice.updateMasterKeyWithCheckByMK(int masterKeyID,
byte[] cipherNewMasterKey,
byte[] checkValue,
int algoCheckValue)
Updates the master key, which must be encrypted by the old master key.
|
int |
PINPadDevice.updateMasterKeyWithMasterKeyByTr31(int masterKeyID,
byte[] tr31)
Update master key using TR31 format, the protection key is old master key
|
int |
PINPadDevice.updateMasterKeyWithTransferKeyByTr31(int masterKeyID,
byte[] tr31)
Update master key using TR31 format, the protection key is old transfer key
|
int |
PINPadDevice.updateTransferKeyWithTransferKeyByTr31(int transferKeyID,
byte[] tr31)
Update transfer key using TR31 format, the protection key is old transfer key
|
void |
PINPadDevice.updateUserKey(int masterKeyID,
int userKeyID,
byte[] cipherNewUserKey)
Updates the user key (session key) encrypted by the master key using 3DES algorithm.
|
void |
PINPadDevice.updateUserKey(int masterKeyID,
int userKeyID,
byte[] cipherNewUserKey,
int userKeyType)
Updates the user key (session key) encrypted by the master key using 3DES algorithm.
|
void |
PINPadDevice.updateUserKey(int masterKeyID,
int userKeyID,
byte[] cipherNewUserKey,
int checkType,
byte[] checkValue)
Updates the user key (session key) encrypted by the master key using 3DES algorithm.
|
void |
PINPadDevice.updateUserKey(int masterKeyID,
int userKeyID,
byte[] cipherNewUserKey,
int checkType,
byte[] checkValue,
KeyInfo keyInfo)
Updates the user key(session key) with additional check value options.
|
void |
PINPadDevice.updateUserKeyWithCheck(int masterKeyID,
int userKeyID,
byte[] cipherNewUserKey,
int userKeyType,
byte[] checkValue,
int algoCheckValue)
Updates the user key(session key).
|
int |
PINPadDevice.updateUserKeyWithTR31Format(int masterKeyID,
int userKeyID,
byte[] tr31Msg)
Updates the user key with TR31 formatted message.
|
boolean |
PINPadDevice.verifyResponseMac(KeyInfo keyInfo,
byte[] plainData,
int macFlag,
byte[] macData,
int nDirection)
Verifies the response MAC.
|
PINPadOperationResult |
PINPadDevice.waitForOfflinePin(boolean voicePrompt,
int timeout)
A synchronous version of 'listenForOfflinePin'.
|
PINPadOperationResult |
PINPadDevice.waitForPinBlock(KeyInfo keyInfo,
String pan,
boolean voicePrompt,
int timeout)
Synchronously waits for user PIN input and calculates the encrypted PIN block.
|
PINPadOperationResult |
PINPadDevice.waitForPinBlock(KeyInfo keyInfo,
String pan,
boolean voicePrompt,
int timeout,
int mode,
byte[] IV)
Synchronously calculates an encrypted PIN block with a specific mode.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
PINPadExtendDevice.decryptData(KeyInfo keyInfo,
byte[] cipherdata,
int mode,
byte[] IV)
Decrypts data using a user-defined key specified in
KeyInfo . |
byte[] |
PINPadExtendDevice.getMasterKeyCheckValue(int masterKeyID,
int algoCheckValue)
Retrieves the check value for a specified master key.
|
byte[] |
PINPadExtendDevice.getTransportKeyCheckValue(int keyID,
int checkType)
Retrieves the check value for a specified transport key.
|
Modifier and Type | Method and Description |
---|---|
android.graphics.Bitmap |
PrinterDevice.convertHTML2image(android.content.Context context,
String htmlContent)
Synchronously converts HTML content into an image.
|
void |
PrinterDevice.convertHTML2image(android.content.Context context,
String htmlContent,
PrinterHtmlListener listener)
Asynchronously converts HTML content into an image format.
|
android.graphics.Bitmap |
PrinterDevice.convertHTML2image(String htmlContent)
Synchronously converts HTML content into an image.
|
void |
PrinterDevice.convertHTML2image(String htmlContent,
PrinterHtmlListener listener)
Asynchronously converts HTML content into an image format.
|
void |
PrinterDevice.cutPaper()
Cuts the paper if the printer supports this feature.
|
Format |
PrinterDevice.getDefaultParameters()
Retrieves the default printing format and restores it in the printer.
|
boolean |
PrinterDevice.isPrintingDone(int timeoutMS)
query the status of busy, is printing or finished
|
void |
PrinterDevice.open(int logicalID)
Initializes and opens the printer device for use.
|
void |
PrinterDevice.printBarcode(Format format,
int barcodeType,
String barcode)
Prints a barcode with specified formatting and type.
|
void |
PrinterDevice.printBarcodeImage(Format format,
int barcodeType,
String barcode)
generate a barcode image, than prints this image with specified formatting and type.
|
void |
PrinterDevice.printBitmap(android.graphics.Bitmap bitmap)
Prints a bitmap image.
|
void |
PrinterDevice.printBitmap(Format format,
android.graphics.Bitmap bitmap)
Prints a bitmap image with specified formatting.
|
void |
PrinterDevice.printBitmap(Format format,
android.graphics.Bitmap bitmap,
int brightness)
Prints a bitmap image with specified formatting and brightness adjustment.
|
void |
PrinterDevice.printBitmapAutoGrayscale(android.graphics.Bitmap bitmap)
Prints a bitmap image with automatic grayscale conversion.
|
void |
PrinterDevice.printBitmapAutoGrayscale(Format format,
android.graphics.Bitmap bitmap)
Prints a bitmap image with automatic grayscale conversion and specified formatting.
|
void |
PrinterDevice.printBitmapAutoGrayscale(Format format,
android.graphics.Bitmap bitmap,
int brightness)
Prints a grayscale image using a specified format and brightness.
|
void |
PrinterDevice.printHTML(android.content.Context context,
String htmlContent)
Synchronously prints HTML content.
|
void |
PrinterDevice.printHTML(android.content.Context context,
String htmlContent,
PrinterHtmlListener listener)
Asynchronously prints the specified HTML content.
|
void |
PrinterDevice.printHTML(String htmlContent)
Synchronously prints HTML content.
|
void |
PrinterDevice.printHTML(String htmlContent,
PrinterHtmlListener listener)
Asynchronously prints the specified HTML content.
|
void |
PrinterDevice.printlnText(Format format,
String message)
Prints the provided text message on the printer with line wrapping, using the specified format.
|
void |
PrinterDevice.printlnText(String message)
Prints the provided text message on the printer, followed by a line break.
|
void |
PrinterDevice.printPDF(InputStream pdf)
Prints content from a PDF.
|
void |
PrinterDevice.printPDF(InputStream pdf,
int pageNumber)
Prints specific pages of a PDF.
|
void |
PrinterDevice.printPDFWithBrightness(InputStream pdf,
int pageNumber,
int brightness)
Prints a PDF with specified brightness for black and white conversion.
|
void |
PrinterDevice.printText(Format format,
String message)
Prints the provided text message on the printer using a specified format.
|
void |
PrinterDevice.printText(String message)
Prints text on the printer.
|
byte[] |
PrinterDevice.queryESC(byte[] esc,
int length,
int timeout)
Queries the result of an ESC command.
|
int |
PrinterDevice.queryStatus()
Checks the paper status in the printer.
|
int |
PrinterDevice.queryVoltage(int[] capacity,
int[] voltage)
Queries the battery status of the printer.
|
void |
PrinterDevice.resetFormat()
Resets the printer to its default format settings.
|
int |
PrinterDevice.sendESCCommand(byte[] esc)
Sends an ESC (escape) command to the printer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RFCardReaderDevice.disableLowPowerCardDetect()
Disables low power card detection mode.
|
boolean |
RFCardReaderDevice.enableLowPowerCardDetect()
Enables low power card detection mode.
|
int[] |
RFCardReaderDevice.getCardTypeValue()
Retrieves the card type value as determined by the kernel.
|
int |
RFCardReaderDevice.getMode()
Retrieves the current communication mode of the device.
|
int |
RFCardReaderDevice.getSpeed()
Gets the current baud rate.
|
void |
RFCardReaderDevice.listenForCardAbsent(OperationListener listener,
int timeout)
Asynchronously listens for the removal of a card from the terminal.
|
void |
RFCardReaderDevice.listenForCardPresent(OperationListener listener,
int timeout)
Initiates the RF card reader to detect contactless cards using the selected communication mode.
|
void |
RFCardReaderDevice.open(int logicalID,
int mode)
Opens the device with a specified communication mode.
|
int |
RFCardReaderDevice.sendControlCommand(int cmdID,
byte[] byteArrayCmdData)
Sends a specific control command to the device.
|
void |
RFCardReaderDevice.setSpeed(int value)
Sets the baud rate used during the initialization phase.
|
RFCardReaderOperationResult |
RFCardReaderDevice.waitForCardAbsent(int timeout)
Synchronously waits for a card to be removed from the terminal within a specified timeout.
|
RFCardReaderOperationResult |
RFCardReaderDevice.waitForCardPresent(int timeout)
Waits synchronously for a contactless card to be present within a specified timeout period.
|
Modifier and Type | Method and Description |
---|---|
void |
SerialPortDevice.changeFlowControlMode(int flowControl)
Changes the flow control mode of the serial port.
|
void |
SerialPortDevice.changeRTS(boolean rts)
Sets or clears the RTS (Request To Send) control signal.
|
void |
SerialPortDevice.changeSerialPortParams(int baudrate,
int dataBits,
int stopBits,
int parity)
Changes the serial port parameters like baud rate, data bits, stop bits, and parity.
|
int |
SerialPortDevice.getBaudRate()
Retrieves the current baud rate configuration of the serial port.
|
int |
SerialPortDevice.getDataBits()
Retrieves the current data bit configuration of the serial port.
|
int |
SerialPortDevice.getFlowControlMode()
Gets the currently configured flow control mode.
|
int |
SerialPortDevice.getParity()
Retrieves the current parity setting of the serial port.
|
int |
SerialPortDevice.getStopBits()
Retrieves the current stop bit configuration of the serial port.
|
void |
SerialPortDevice.listenForRead(int len,
OperationListener listener,
int timeout)
Asynchronously reads a specified number of bytes from the serial port.
|
void |
SerialPortDevice.open(int logicID)
Connects to a specific serial port identified by the logical ID.
|
boolean |
SerialPortDevice.retrieveCTS()
Retrieves the current state of the CTS (Clear To Send) control signal.
|
boolean |
SerialPortDevice.retrieveRTS()
Retrieves the current state of the RTS (Request To Send) control signal.
|
SerialPortOperationResult |
SerialPortDevice.waitForRead(int len,
int timeout)
Synchronously reads a specified number of bytes from the serial port.
|
void |
SerialPortDevice.write(byte[] data,
int offset,
int len)
Writes a specified number of bytes to the open output stream of the serial port.
|
Modifier and Type | Method and Description |
---|---|
void |
SignatureDevice.listenSignature(String transactionCode,
OperationListener listener,
int timeout)
Initiates an asynchronous operation to capture a signature.
|
void |
SignatureDevice.open(int logicID)
Opens the signature device.
|
SignatureOperationResult |
SignatureDevice.waitSignature(String transactionCode,
int timeout)
Synchronous counterpart of
SignatureDevice.listenSignature(String, OperationListener, int) . |
Modifier and Type | Method and Description |
---|---|
void |
SmartCardReaderDevice.listenForCardAbsent(OperationListener listener,
int timeout)
Asynchronously listens for a smart card to be removed from the reader.
|
void |
SmartCardReaderDevice.listenForCardPresent(OperationListener listener,
int timeout)
Asynchronously listens for a smart card to be inserted into the reader.
|
void |
SmartCardReaderDevice.open(int logicalID)
Opens the smart card reader device.
|
void |
SmartCardReaderDevice.open(int logicalID,
int cardEmvMode)
Opens the smart card reader device with a specified EMV mode.
|
SmartCardReaderOperationResult |
SmartCardReaderDevice.waitForCardAbsent(int timeout)
Synchronously waits for a smart card to be removed from the reader.
|
SmartCardReaderOperationResult |
SmartCardReaderDevice.waitForCardPresent(int timeout)
Synchronously waits for a smart card to be present in the reader.
|
Modifier and Type | Method and Description |
---|---|
void |
USBExtSwitchDevice.disablePower(int usbID)
Powers off the specified USB host.
|
void |
USBExtSwitchDevice.enablePower(int usbID)
Powers on the specified USB host.
|
boolean |
USBExtSwitchDevice.isPowerEnabled(int usbID)
Checks whether the specified USB host is powered on.
|