com.anywherecommerce.android.sdk.devices
Enum CardReader.ConnectionMethod
-
java.lang.Object
-
java.lang.Enum<CardReader.ConnectionMethod>
com.anywherecommerce.android.sdk.devices.CardReader.ConnectionMethod -
All Implemented Interfaces:java.io.Serializable, java.lang.Comparable<CardReader.ConnectionMethod>Enclosing class:CardReader-
public static enum <span class="typeNameLabel">CardReader.ConnectionMethod</span> extends java.lang.Enum<
-
<a name="enum.constant.summary"></a>
### Enum Constant Summary
Enum Constant and Description`<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html#AUDIO">AUDIO</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html#BLUETOOTH">BLUETOOTH</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html#CLOUD">CLOUD</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html#UNSPECIFIED">UNSPECIFIED</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html#USB">USB</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html#WIFI">WIFI</a></span>`
<a name="method.summary"></a>
### Method Summary
Modifier and TypeMethod and Description`static
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)`Returns the enum constant of this type with the specified name.
`static
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a>[]``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html#values--">values</a></span>()`Returns an array containing the constants of this enum type, in the order they are declared.
<a name="methods.inherited.from.class.java.lang.Enum"></a>
### Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`
<a name="methods.inherited.from.class.java.lang.Object"></a>
### Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`
-
<a name="enum.constant.detail"></a>
### Enum Constant Detail
<a name="UNSPECIFIED"></a>
#### UNSPECIFIED
`public static final
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a> UNSPECIFIED`
<a name="AUDIO"></a>
#### AUDIO
`public static final
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a> AUDIO`
<a name="BLUETOOTH"></a>
#### BLUETOOTH
`public static final
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a> BLUETOOTH`
<a name="USB"></a>
#### USB
`public static final
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a> USB`
<a name="WIFI"></a>
#### WIFI
`public static final
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a> WIFI`
<a name="CLOUD"></a>
#### CLOUD
`public static final
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a> CLOUD`
<a name="method.detail"></a>
### Method Detail
<a name="values--"></a>
#### values
`public static
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a>[] 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 (CardReader.ConnectionMethod c : CardReader.ConnectionMethod.values())
System.out.println(c);
```
Returns:an array containing the constants of this enum type, in the order they are declared
<a name="valueOf-java.lang.String-"></a>
#### valueOf
`public static
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.ConnectionMethod.html" title="enum in com.anywherecommerce.android.sdk.devices">CardReader.ConnectionMethod</a> valueOf(java.lang.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.)
Parameters:`name` the name of the enum constant to be returned.Returns:the enum constant with the specified nameThrows:`java.lang.IllegalArgumentException` if this enum type has no constant with the specified name`java.lang.NullPointerException` if the argument is null