public static enum BondRetryFilter.Status extends java.lang.Enum<BondRetryFilter.Status>
Enum Constant and Description |
---|
AUTH_CANCELED
A bond attempt failed because we canceled the bonding process.
|
AUTH_FAILED
A bond attempt failed because pins did not match, or remote device did not respond to pin request in time.
|
AUTH_REJECTED
A bond attempt failed because the other side explicitly rejected bonding.
|
AUTH_TIMEOUT
A bond attempt failed because of authentication timeout.
|
DISCOVERY_IN_PROGRESS
A bond attempt failed because a discovery is in progress.
|
REMOTE_AUTH_CANCELED
A bond attempt failed because we received an Authentication Cancel by remote end.
|
REMOTE_DEVICE_DOWN
A bond attempt failed because we could not contact the remote device.
|
REMOVED
An existing bond was explicitly revoked.
|
REPEATED_ATTEMPTS
A bond attempt failed because of repeated attempts.
|
SUCCESS
The bond attempt was successful.
|
UNKNOWN_ERROR
Catchall for when we get a bond failure, and don't know the appropriate error (this should in theory never happen)
|
Modifier and Type | Method and Description |
---|---|
static BondRetryFilter.Status |
fromNativeBit(int bit) |
static BondRetryFilter.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BondRetryFilter.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static BondRetryFilter.Status[] |
VALUES() |
public static final BondRetryFilter.Status SUCCESS
public static final BondRetryFilter.Status AUTH_FAILED
public static final BondRetryFilter.Status AUTH_REJECTED
public static final BondRetryFilter.Status AUTH_CANCELED
public static final BondRetryFilter.Status REMOTE_DEVICE_DOWN
public static final BondRetryFilter.Status DISCOVERY_IN_PROGRESS
public static final BondRetryFilter.Status AUTH_TIMEOUT
public static final BondRetryFilter.Status REPEATED_ATTEMPTS
public static final BondRetryFilter.Status REMOTE_AUTH_CANCELED
public static final BondRetryFilter.Status REMOVED
public static final BondRetryFilter.Status UNKNOWN_ERROR
public static BondRetryFilter.Status[] values()
for (BondRetryFilter.Status c : BondRetryFilter.Status.values()) System.out.println(c);
public static BondRetryFilter.Status 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 nullpublic static BondRetryFilter.Status fromNativeBit(int bit)
public static BondRetryFilter.Status[] VALUES()