public static enum Platform2.Feature extends Enum<Platform2.Feature>
isSupported(Context)
is undefined on non-Clover Android devices.Platform2.isClover()
Enum Constant and Description |
---|
CUSTOMER_FACING_EXTERNAL_DISPLAY
Device supports non-touch customer facing external display.
|
CUSTOMER_MODE
Device supports the
CustomerMode class for checking, enabling and disabling
customer mode. |
CUSTOMER_ROTATION
Device supports merchant to customer rotation with landscape->portrait configuration change.
|
DEFAULT_EMPLOYEE
Device supports login by a "default employee" without a PIN.
|
ETHERNET
Device has an ethernet port or has an officially supported ethernet port attachment.
|
MERCHANT_ONLY
Form factor of this device is such that customers should not interact with it directly for
any reason.
|
MOBILE_DATA
Device includes cellular mobile data hardware.
|
SECURE_PAYMENTS
If this feature is true then this device can be used to take card present payments, if it is
false then this device has no ability to take card present payments.
|
SECURE_TOUCH
Device has a secure touch screen.
|
USB_DEVICE_PORTS
Device has physical USB device ports that allow accessories to be attached.
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
isSupported(Context context) |
static Platform2.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform2.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform2.Feature SECURE_PAYMENTS
public static final Platform2.Feature CUSTOMER_MODE
CustomerMode
class for checking, enabling and disabling
customer mode.public static final Platform2.Feature MOBILE_DATA
public static final Platform2.Feature DEFAULT_EMPLOYEE
MerchantProperties
to check.public static final Platform2.Feature ETHERNET
public static final Platform2.Feature SECURE_TOUCH
public static final Platform2.Feature CUSTOMER_FACING_EXTERNAL_DISPLAY
DisplayManager
to detect dual touch screen devices.public static final Platform2.Feature CUSTOMER_ROTATION
public static final Platform2.Feature USB_DEVICE_PORTS
public static final Platform2.Feature MERCHANT_ONLY
public static Platform2.Feature[] values()
for (Platform2.Feature c : Platform2.Feature.values()) System.out.println(c);
public static Platform2.Feature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected abstract boolean isSupported(Context context)