public enum PrimaryAudioSource extends Enum<PrimaryAudioSource>
| Enum Constant and Description |
|---|
AM |
BLUETOOTH_STEREO_BTST
Bluetooth Stereo is current source
|
CD
CD is current source
|
DAB |
FM |
IPOD
iPod is current source
|
LINE_IN
Line in is current source
|
MOBILE_APP
Mobile app is current source
|
NO_SOURCE_SELECTED
Currently no source selected
|
USB
USB is current source
|
USB2
USB2 is current source
|
XM |
| Modifier and Type | Method and Description |
|---|---|
static PrimaryAudioSource |
valueForString(String value)
Convert String to PrimaryAudioSource
|
static PrimaryAudioSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimaryAudioSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimaryAudioSource NO_SOURCE_SELECTED
public static final PrimaryAudioSource CD
public static final PrimaryAudioSource USB
public static final PrimaryAudioSource USB2
public static final PrimaryAudioSource BLUETOOTH_STEREO_BTST
public static final PrimaryAudioSource LINE_IN
public static final PrimaryAudioSource IPOD
public static final PrimaryAudioSource MOBILE_APP
public static final PrimaryAudioSource AM
public static final PrimaryAudioSource FM
public static final PrimaryAudioSource XM
public static final PrimaryAudioSource DAB
public static PrimaryAudioSource[] values()
for (PrimaryAudioSource c : PrimaryAudioSource.values()) System.out.println(c);
public static PrimaryAudioSource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PrimaryAudioSource valueForString(String value)
value - String