public static enum AliPlayerGlobalSettings.StreamType extends java.lang.Enum<AliPlayerGlobalSettings.StreamType>
Enum Constant and Description |
---|
STREAM_ALARM
alarms
|
STREAM_MUSIC
music playback
|
STREAM_NOTIFICATION
notifications
|
STREAM_RING
phone ring
|
STREAM_SYSTEM
system sounds
|
STREAM_VOICE_CALL
phone calls
|
Modifier and Type | Method and Description |
---|---|
static AliPlayerGlobalSettings.StreamType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AliPlayerGlobalSettings.StreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AliPlayerGlobalSettings.StreamType STREAM_VOICE_CALL
public static final AliPlayerGlobalSettings.StreamType STREAM_SYSTEM
public static final AliPlayerGlobalSettings.StreamType STREAM_RING
public static final AliPlayerGlobalSettings.StreamType STREAM_MUSIC
public static final AliPlayerGlobalSettings.StreamType STREAM_ALARM
public static final AliPlayerGlobalSettings.StreamType STREAM_NOTIFICATION
public static AliPlayerGlobalSettings.StreamType[] values()
for (AliPlayerGlobalSettings.StreamType c : AliPlayerGlobalSettings.StreamType.values()) System.out.println(c);
public static AliPlayerGlobalSettings.StreamType 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