com.skype
Enum Call.Type

java.lang.Object
  extended by java.lang.Enum<Call.Type>
      extended by 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.


Enum Constant Summary
INCOMING_P2P
           
INCOMING_PSTN
          INCOMING_PSTN - incoming call from PSTN.
OUTGOING_P2P
           
OUTGOING_PSTN
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.