public static enum AudioManager.OutputBehavior extends Enum<AudioManager.OutputBehavior>
| Enum Constant and Description |
|---|
INTERRUPT_ALL
Interrupt the current output, clear the queue and play the new output.
|
INTERRUPT_CURRENT
Interrupt the current output and play the new one instead.
|
QUEUE
Queue the new output.
|
QUEUE_PRIORITY
Put the new output at the first position of the queue
|
SUSPEND
Suspend the current output and continue it after the new output
|
| Modifier and Type | Method and Description |
|---|---|
static AudioManager.OutputBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudioManager.OutputBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioManager.OutputBehavior QUEUE
public static final AudioManager.OutputBehavior QUEUE_PRIORITY
public static final AudioManager.OutputBehavior INTERRUPT_CURRENT
public static final AudioManager.OutputBehavior INTERRUPT_ALL
public static final AudioManager.OutputBehavior SUSPEND
public static AudioManager.OutputBehavior[] values()
for (AudioManager.OutputBehavior c : AudioManager.OutputBehavior.values()) System.out.println(c);
public static AudioManager.OutputBehavior 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 nullCopyright © 2018. All rights reserved.