PaymentSdkBase

public class PaymentSdkBase extends PaymentSdkInterface

Fields

DARWIN

protected static final String DARWIN

DELIMITER

protected static final String DELIMITER

JNI

protected static final String JNI

LINUX_PLATFORM

protected static final String LINUX_PLATFORM

TEMP_FOLDER

protected static final String TEMP_FOLDER

WIN32

protected static final String WIN32

X86

protected static final String X86

mPaymentSdk

protected PaymentSdkInterface mPaymentSdk

nativeLibraryPath

protected static String nativeLibraryPath

Constructors

PaymentSdkBase

protected PaymentSdkBase()

PaymentSdkBase

protected PaymentSdkBase(String filename)

Methods

UseDevice

public void UseDevice(PsdkDeviceInformation device, boolean saveDevice)

addListener

public void addListener(CommerceListener2 listener)

configureLogFile

public static boolean configureLogFile(String filename, long size)

configureLogLevel

public static void configureLogLevel(PsdkLogLevel level)

displayConfiguration

public void displayConfiguration(CommerceListener2 listener)

getAccessibilityManager

public AccessibilityManager getAccessibilityManager()

getDeviceInformation

public PsdkDeviceInformation getDeviceInformation()

getDeviceScanner

public DeviceScannerInterface getDeviceScanner()

getPlatformName

protected static String getPlatformName()

initialize

public void initialize(CommerceListener2 listener)

initializeFromFile

public void initializeFromFile(CommerceListener2 listener, String path)

initializeFromValues

public void initializeFromValues(CommerceListener2 listener, HashMap<String, String> config)

initializeWithConnection

public void initializeWithConnection(CommerceListener2 listener, HashMap<String, String> config, ConnectionInterface connection)

removeListener

public void removeListener(CommerceListener2 listener)

tearDown

public void tearDown()

unzipJar

protected static void unzipJar(String path)