Enum Class PhoneEventType
- All Implemented Interfaces:
Serializable, Comparable<PhoneEventType>, Constable
Represents the phone events of a call.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnqueued state changed.Interaction key changed.No state changed, only the request mask changed.No value is assigned.Recording state changed.State changed.Call sub type changed.Supervised transfer flag changed.Suspended state changed. -
Method Summary
Modifier and TypeMethodDescriptionstatic PhoneEventTypefromValue(int v) intvalue()static PhoneEventTypeReturns the enum constant of this class with the specified name.static PhoneEventType[]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. -
StateChanged
State changed. -
RecordingStateChanged
Recording state changed. -
EnqueuedStateChanged
Enqueued state changed. -
NoStateChanged
No state changed, only the request mask changed. -
SubCallTypeChanged
Call sub type changed. -
InteractionKeyChanged
Interaction key changed. -
SupervisedTransfer
Supervised transfer flag changed. -
SuspendedStateChanged
Suspended state changed.
-
-
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
-