public enum ToneID extends Enum<ToneID>
Enum Constant and Description |
---|
Busy |
CallLost |
CallOnHold |
CallWaiting |
Undefined |
Modifier and Type | Field and Description |
---|---|
protected int |
mValue |
Modifier and Type | Method and Description |
---|---|
protected static ToneID |
fromInt(int value) |
static ToneID |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToneID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToneID Undefined
public static final ToneID Busy
public static final ToneID CallWaiting
public static final ToneID CallOnHold
public static final ToneID CallLost
public static ToneID[] values()
for (ToneID c : ToneID.values()) System.out.println(c);
public static ToneID 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 nullprotected static ToneID fromInt(int value) throws LinphoneCoreException
LinphoneCoreException