com.android.sdklib.devices
Enum BluetoothProfile

java.lang.Object
  extended by java.lang.Enum<BluetoothProfile>
      extended by com.android.sdklib.devices.BluetoothProfile
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BluetoothProfile>

public enum BluetoothProfile
extends java.lang.Enum<BluetoothProfile>


Enum Constant Summary
A2DP
           
ATT
           
AVDTP
           
AVRCP
           
BIP
           
BPP
           
CIP
           
CTP
           
DIP
           
DUN
           
FAX
           
FTP
           
GAP
           
GATT
           
GAVDP
           
GOEP
           
HCRP
           
HDP
           
HFP
           
HID
           
HSP
           
ICP
           
LAP
           
MAP
           
OPP
           
PAN
           
PBA
           
PBAP
           
rSAP
           
SAP
           
SDAP
           
SIM
           
SPP
           
SYNCH
           
VDP
           
WAPB
           
 
Method Summary
static BluetoothProfile getEnum(java.lang.String value)
           
 java.lang.String toString()
           
static BluetoothProfile valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
java.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:
toString in class java.lang.Enum<BluetoothProfile>