Package com.vonage.client.voice
Enum Class CallStatusDetail
- All Implemented Interfaces:
Serializable,Comparable<CallStatusDetail>,java.lang.constant.Constable
Represents the
detail field in EventWebhook.getDetail().- Since:
- 8.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCannot route to the number.Carrier timed out.Call rejected by callee.Server error or failure.Number invalid.No detail field present.Number is no longer available.Rejected by carrier.Callee is temporarily unavailable.Detail present, but has not been mapped to an enum yet. -
Method Summary
Modifier and TypeMethodDescriptionstatic CallStatusDetailfromString(String detail) toString()static CallStatusDetailReturns the enum constant of this class with the specified name.static CallStatusDetail[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_DETAIL
No detail field present. -
UNMAPPED_DETAIL
Detail present, but has not been mapped to an enum yet. -
INVALID_NUMBER
Number invalid. -
RESTRICTED
Rejected by carrier. -
DECLINED
Call rejected by callee. -
CANNOT_ROUTE
Cannot route to the number. -
NUMBER_OUT_OF_SERVICE
Number is no longer available. -
INTERNAL_ERROR
Server error or failure. -
CARRIER_TIMEOUT
Carrier timed out. -
UNAVAILABLE
Callee is temporarily unavailable.
-
-
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
-
toString
- Overrides:
toStringin classEnum<CallStatusDetail>
-
fromString
-