public static enum Call.Event extends Enum<Call.Event>
Enum Constant and Description |
---|
ANSWERED |
COMPLETED |
INITIATED |
RINGING |
Modifier and Type | Method and Description |
---|---|
static Call.Event |
forValue(String value) |
String |
toString() |
static Call.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Call.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Call.Event INITIATED
public static final Call.Event RINGING
public static final Call.Event ANSWERED
public static final Call.Event COMPLETED
public static Call.Event[] values()
for (Call.Event c : Call.Event.values()) System.out.println(c);
public static Call.Event valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Call.Event>
public static Call.Event forValue(String value)
Copyright © 2011 Twilio, Inc. All Rights Reserved.