Package com.twilio.voice
Enum Class Call.Score
- All Implemented Interfaces:
Serializable
,Comparable<Call.Score>
,Constable
- Enclosing class:
- Call
An enum representing call quality score.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGreat call quality.Good call quality, minor issues.No score reported.Terrible call quality, call dropped, or caused great difficulty in communicating.Average call quality, manageable with some noise/minor packet loss.Bad call quality, like choppy audio, periodic one-way-audio. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static Call.Score
Returns the enum constant of this class with the specified name.static Call.Score[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_REPORTED
No score reported. -
ONE
Terrible call quality, call dropped, or caused great difficulty in communicating. -
TWO
Bad call quality, like choppy audio, periodic one-way-audio. -
THREE
Average call quality, manageable with some noise/minor packet loss. -
FOUR
Good call quality, minor issues. -
FIVE
Great call quality. No issues.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-