Package com.android.sdklib.devices
Enum BluetoothProfile
- java.lang.Object
-
- java.lang.Enum<BluetoothProfile>
-
- com.android.sdklib.devices.BluetoothProfile
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BluetoothProfile>
public enum BluetoothProfile extends java.lang.Enum<BluetoothProfile>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BluetoothProfilegetEnum(java.lang.String value)java.lang.StringtoString()static BluetoothProfilevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BluetoothProfile[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A2DP
public static final BluetoothProfile A2DP
-
ATT
public static final BluetoothProfile ATT
-
AVRCP
public static final BluetoothProfile AVRCP
-
AVDTP
public static final BluetoothProfile AVDTP
-
BIP
public static final BluetoothProfile BIP
-
BPP
public static final BluetoothProfile BPP
-
CIP
public static final BluetoothProfile CIP
-
CTP
public static final BluetoothProfile CTP
-
DIP
public static final BluetoothProfile DIP
-
DUN
public static final BluetoothProfile DUN
-
FAX
public static final BluetoothProfile FAX
-
FTP
public static final BluetoothProfile FTP
-
GAVDP
public static final BluetoothProfile GAVDP
-
GAP
public static final BluetoothProfile GAP
-
GATT
public static final BluetoothProfile GATT
-
GOEP
public static final BluetoothProfile GOEP
-
HCRP
public static final BluetoothProfile HCRP
-
HDP
public static final BluetoothProfile HDP
-
HFP
public static final BluetoothProfile HFP
-
HID
public static final BluetoothProfile HID
-
HSP
public static final BluetoothProfile HSP
-
ICP
public static final BluetoothProfile ICP
-
LAP
public static final BluetoothProfile LAP
-
MAP
public static final BluetoothProfile MAP
-
OPP
public static final BluetoothProfile OPP
-
PAN
public static final BluetoothProfile PAN
-
PBA
public static final BluetoothProfile PBA
-
PBAP
public static final BluetoothProfile PBAP
-
SPP
public static final BluetoothProfile SPP
-
SDAP
public static final BluetoothProfile SDAP
-
SAP
public static final BluetoothProfile SAP
-
SIM
public static final BluetoothProfile SIM
-
rSAP
public static final BluetoothProfile rSAP
-
SYNCH
public static final BluetoothProfile SYNCH
-
VDP
public static final BluetoothProfile VDP
-
WAPB
public static final BluetoothProfile WAPB
-
-
Method Detail
-
values
public static BluetoothProfile[] 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 (BluetoothProfile c : BluetoothProfile.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BluetoothProfile 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 name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getEnum
@Nullable public static BluetoothProfile getEnum(@NonNull java.lang.String value)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<BluetoothProfile>
-
-