public static enum ScannerConfig.AudioStreamType extends java.lang.Enum<ScannerConfig.AudioStreamType>
Enum Constant and Description |
---|
ALARAMS
Alarms.
|
MEDIA
Music and Media.
|
RINGER
Ringer and Notifications.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.AudioStreamType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.AudioStreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.AudioStreamType RINGER
public static final ScannerConfig.AudioStreamType MEDIA
public static final ScannerConfig.AudioStreamType ALARAMS
public static ScannerConfig.AudioStreamType[] values()
for (ScannerConfig.AudioStreamType c : ScannerConfig.AudioStreamType.values()) System.out.println(c);
public static ScannerConfig.AudioStreamType 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