public static enum Client.Event extends Enum<Client.Event>
| Enum Constant and Description |
|---|
ANSWERED |
COMPLETED |
INITIATED |
RINGING |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Client.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Client.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.Event INITIATED
public static final Client.Event RINGING
public static final Client.Event ANSWERED
public static final Client.Event COMPLETED
public static Client.Event[] values()
for (Client.Event c : Client.Event.values()) System.out.println(c);
public static Client.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<Client.Event>Copyright © 2016 Twilio, Inc. All Rights Reserved.