PsdkDeviceInformation¶
-
public final class
PsdkDeviceInformation
¶ User-displayable information about the connected device and the SDK. Some values may not be available depending on the connection type and the messages that have been sent up to this point.
Fields¶
ACCEPT_ANY_DEVICE_VALUE¶
DEVICE_ADDRESS_KEY¶
DEVICE_ADDRESS_TYPE_BTPAN¶
DEVICE_ADDRESS_TYPE_KEY¶
DEVICE_CONNECTION_TYPE_KEY¶
DEVICE_LOGICAL_ID_KEY¶
DEVICE_MAC_ADDRESS_KEY¶
DEVICE_MODEL_KEY¶
DEVICE_SERIAL_NUMBER_KEY¶
DEVICE_STATE_KEY¶
HOTSPOT_ADDRESS_KEY¶
UNSOLICITED_PORT_KEY¶
mAddress¶
mAddressType¶
mConnectionType¶
mIsListening¶
-
final boolean
mIsListening
¶
mLogicalDeviceId¶
mMacAddress¶
mMerchantConfig¶
mModel¶
mPaymentAppName¶
mPaymentAppVersion¶
mPaymentProtocol¶
mSerialNumber¶
mState¶
-
final PaymentDeviceState
mState
¶
Constructors¶
PsdkDeviceInformation¶
-
public
PsdkDeviceInformation
(String connectionType, String address, String macAddress, String addressType, String serialNumber, String model, Boolean hasNavigator, String paymentProtocol, String paymentAppName, String paymentAppVersion, String logicalDeviceId, PaymentDeviceState state, boolean isListening, ArrayList<Merchant> merchantConfig)¶
Methods¶
getAddress¶
getAddressType¶
getConnectionType¶
getIsListening¶
-
public boolean
getIsListening
()¶ Set to false if the device connects to us, or true if we connect to it. If this is false, then it is equivalent to setting TransactionManager::DEVICE_LISTEN_KEY to the ENABLED_VALUE, because if this is false, then the PSDK must listen for the device.
getLogicalDeviceId¶
getMacAddress¶
getMerchantConfig¶
getModel¶
getPaymentAppName¶
getPaymentAppVersion¶
getPaymentProtocol¶
getSerialNumber¶
getState¶
-
public PaymentDeviceState
getState
()¶ The current or most recently known state of the payment device