public class DeviceInfo extends Object
Example Usage: paymentDevice.deviceInfo.getFriendlyName();
Modifier and Type | Class and Description |
---|---|
static class |
DeviceInfo.ConnectionType
List of supported payment connection types.
|
static class |
DeviceInfo.DeviceType
List of supported Payment device types.
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationVersion()
Returns the application version on the payment device.
|
DeviceInfo.ConnectionType |
getConnectionType()
Returns the payment device connection type to mobile computer
|
DeviceInfo.DeviceType |
getDeviceType()
Returns the payment device type
|
String |
getFirmwareVersion()
Returns the firmware version of the payment device.
|
String |
getFriendlyName()
Returns the friendly name of the Device.
|
String |
getMacAddress()
Returns the MacAdress of the remote device.
|
boolean |
isDefaultDevice()
Returns true if it is a default payment device else false.
|
public boolean isDefaultDevice()
public String getFirmwareVersion()
public String getApplicationVersion()
public String getFriendlyName()
Example Usage: String name = paymentDevice.deviceInfo.getFriendlyName();
public String getMacAddress()
Example Usage: String name = paymentDevice.deviceInfo.getMacAddress();
public DeviceInfo.ConnectionType getConnectionType()
Example Usage: ConnectionType deviceType = paymentDevice.deviceInfo.getConnectionType();
public DeviceInfo.DeviceType getDeviceType()
Example Usage: DeviceType deviceType = paymentDevice.deviceInfo.getDeviceType();