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