public static enum ScanAndPairConfig.NotificationType extends java.lang.Enum<ScanAndPairConfig.NotificationType>
|
||
---|---|---|
Notification Stages | Beeper Sequence | Remarks |
Scanner Ready | Two short beeps of the same frequency | If the ScanInfo.TriggerType is set to MANUAL, this notification indicates when to press the trigger. |
Pair Success | Four short beeps of the same frequency | Indicates that pairing has succeeded. |
Unpair success | Four short beeps of the same frequency | Indicates that unpairing has succeeded. |
Scan Failed | Six beeps of alternating frequencies | Indicates scanning has failed. |
Discovery failed | Six beeps of alternating frequencies | Indicates that the Bluetooth device could not be found. |
UnPair failed | Six beeps of alternating frequencies | Indicates that unpairing has failed |
Enum Constant and Description |
---|
BEEPER
Beeper notification.
|
NONE
Reserved for future use.
|
Modifier and Type | Method and Description |
---|---|
static ScanAndPairConfig.NotificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScanAndPairConfig.NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanAndPairConfig.NotificationType BEEPER
public static final ScanAndPairConfig.NotificationType NONE
public static ScanAndPairConfig.NotificationType[] values()
for (ScanAndPairConfig.NotificationType c : ScanAndPairConfig.NotificationType.values()) System.out.println(c);
public static ScanAndPairConfig.NotificationType 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