Enum Class InstantMessagingError
- All Implemented Interfaces:
Serializable, Comparable<InstantMessagingError>, Constable
Represents the type of instant messaging error.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe automatic recording start failed.The destination phone was busy.The number dialed is invalid.No trunk lines are available.The destination phone did not answer.No value is assigned.The call cannot be recorded.The call failed because of a switch error.The call failed due to an unknown reason. -
Method Summary
Modifier and TypeMethodDescriptionstatic InstantMessagingErrorfromValue(int v) intvalue()static InstantMessagingErrorReturns the enum constant of this class with the specified name.static InstantMessagingError[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NoValue
No value is assigned. -
UnknownFailure
The call failed due to an unknown reason. -
SwitchError
The call failed because of a switch error. -
LineOverflow
No trunk lines are available. -
Busy
The destination phone was busy. -
NoAnswer
The destination phone did not answer. -
InvalidNumber
The number dialed is invalid. -
RecordingStartFailed
The call cannot be recorded. -
AutomaticRecordingStartFailed
The automatic recording start failed.
-
-
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
-
value
public int value() -
fromValue
-