Package com.twilio.voice
Enum Call.Score
- java.lang.Object
-
- java.lang.Enum<Call.Score>
-
- com.twilio.voice.Call.Score
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Call.Score>
- Enclosing class:
- Call
public static enum Call.Score extends java.lang.Enum<Call.Score>
An enum representing call quality score.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIVEGreat call quality.FOURGood call quality, minor issues.NOT_REPORTEDNo score reported.ONETerrible call quality, call dropped, or caused great difficulty in communicating.THREEAverage call quality, manageable with some noise/minor packet loss.TWOBad call quality, like choppy audio, periodic one-way-audio.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()static Call.ScorevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Call.Score[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_REPORTED
public static final Call.Score NOT_REPORTED
No score reported.
-
ONE
public static final Call.Score ONE
Terrible call quality, call dropped, or caused great difficulty in communicating.
-
TWO
public static final Call.Score TWO
Bad call quality, like choppy audio, periodic one-way-audio.
-
THREE
public static final Call.Score THREE
Average call quality, manageable with some noise/minor packet loss.
-
FOUR
public static final Call.Score FOUR
Good call quality, minor issues.
-
FIVE
public static final Call.Score FIVE
Great call quality. No issues.
-
-
Method Detail
-
values
public static Call.Score[] 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 (Call.Score c : Call.Score.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Call.Score valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
-
-