org.mobicents.media.server.mgcp.pkg.au
Enum PlayerMode
java.lang.Object
java.lang.Enum<PlayerMode>
org.mobicents.media.server.mgcp.pkg.au.PlayerMode
- All Implemented Interfaces:
- Serializable, Comparable<PlayerMode>
public enum PlayerMode
- extends Enum<PlayerMode>
- Author:
- oifa yulian
|
Method Summary |
int |
getValue()
|
static PlayerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PlayerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
PROMPT
public static final PlayerMode PROMPT
SUCCESS
public static final PlayerMode SUCCESS
FAILURE
public static final PlayerMode FAILURE
values
public static PlayerMode[] 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 (PlayerMode c : PlayerMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PlayerMode valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getValue
public int getValue()
Copyright © 2012 TeleStax, Inc.. All Rights Reserved.