com.skype
Enum Call.Type
java.lang.Object
java.lang.Enum<Call.Type>
com.skype.Call.Type
- All Implemented Interfaces:
- Serializable, Comparable<Call.Type>
- Enclosing class:
- Call
public static enum Call.Type
- extends Enum<Call.Type>
Enumeration of CALL types.
Method Summary |
static Call.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Call.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
INCOMING_PSTN
public static final Call.Type INCOMING_PSTN
- INCOMING_PSTN - incoming call from PSTN.
OUTGOING_PSTN - outgoing call to PSTN.
INCOMING_P2P - incoming call from P2P.
OUTGOING_P2P - outgoing call to P2P.
OUTGOING_PSTN
public static final Call.Type OUTGOING_PSTN
INCOMING_P2P
public static final Call.Type INCOMING_P2P
OUTGOING_P2P
public static final Call.Type OUTGOING_P2P
values
public static Call.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Call.Type c : Call.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Call.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2004-2011. All Rights Reserved.