public static enum ReconnectFilter.AutoConnectUsage extends java.lang.Enum<ReconnectFilter.AutoConnectUsage>
autoConnect
parameter for either BluetoothDevice.connectGatt(Context, boolean, android.bluetooth.BluetoothGattCallback)
or BluetoothGattServer.connect(BluetoothDevice, boolean)
.Enum Constant and Description |
---|
NOT_APPLICABLE
Usage is not applicable.
|
NOT_USED
autoConnect was not used. |
UNKNOWN
Used when we didn't start the connection process, i.e.
|
USED
autoConnect was used. |
Modifier and Type | Method and Description |
---|---|
static ReconnectFilter.AutoConnectUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReconnectFilter.AutoConnectUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReconnectFilter.AutoConnectUsage UNKNOWN
BleNodeConfig.taskTimeoutRequestFilter
but then it somehow
does come in (shouldn't happen but who knows).public static final ReconnectFilter.AutoConnectUsage NOT_APPLICABLE
public static final ReconnectFilter.AutoConnectUsage USED
autoConnect
was used.public static final ReconnectFilter.AutoConnectUsage NOT_USED
autoConnect
was not used.public static ReconnectFilter.AutoConnectUsage[] values()
for (ReconnectFilter.AutoConnectUsage c : ReconnectFilter.AutoConnectUsage.values()) System.out.println(c);
public static ReconnectFilter.AutoConnectUsage valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null