Enum Platform2.Feature

    • Enum Constant Detail


        public static final Platform2.Feature 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.

        public static final Platform2.Feature CUSTOMER_MODE
        Device supports the CustomerMode class for checking, enabling and disabling customer mode.

        public static final Platform2.Feature MOBILE_DATA
        Device includes cellular mobile data hardware. The device may or may not currently have SIM card, be in airplane mode, or have signal/connectivity.

        public static final Platform2.Feature DEFAULT_EMPLOYEE
        Device supports login by a "default employee" without a PIN. The feature may or may not actually be enabled, see MerchantProperties to check.
      • ETHERNET

        public static final Platform2.Feature ETHERNET
        Device has an ethernet port or has an officially supported ethernet port attachment. It may or may not be currently enabled, attached or connected.

        public static final Platform2.Feature SECURE_TOUCH
        Device has a secure touch screen(eg: flex, mini) or a secure keypad(eg: pinetree)

        public static final Platform2.Feature CUSTOMER_FACING_EXTERNAL_DISPLAY
        Device supports non-touch customer facing external display. It may or may not be currently connected.

        Dual touchscreen devices such as Clover Station Duo do not have this feature. Use DisplayManager to detect dual touch screen devices.


        public static final Platform2.Feature CUSTOMER_ROTATION
        Device supports merchant to customer rotation with landscape->portrait configuration change.

        public static final Platform2.Feature USB_DEVICE_PORTS
        Device has physical USB device ports that allow accessories to be attached.

        public static final Platform2.Feature MERCHANT_ONLY
        Form factor of this device is such that customers should not interact with it directly for any reason. Customers should not be prompted to tip, present payment card, etc.
    • Method Detail

      • values

        public static Platform2.Feature[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Platform2.Feature c : Platform2.Feature.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Platform2.Feature valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isSupported

        protected abstract boolean isSupported​(Context context)