com.skype.api
Enum Voicemail.TYPE

java.lang.Object
  extended by java.lang.Enum<Voicemail.TYPE>
      extended by com.skype.api.Voicemail.TYPE
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Voicemail.TYPE>
Enclosing class:
Voicemail

public static enum Voicemail.TYPE
extends java.lang.Enum<Voicemail.TYPE>


Enum Constant Summary
CUSTOM_GREETING
           
DEFAULT_GREETING
           
INCOMING
           
OUTGOING
           
 
Method Summary
static Voicemail.TYPE fromString(java.lang.String s)
           
static Voicemail.TYPE get(int code)
           
 int getId()
           
static Voicemail.TYPE valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Voicemail.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

public static final Voicemail.TYPE INCOMING

DEFAULT_GREETING

public static final Voicemail.TYPE DEFAULT_GREETING

CUSTOM_GREETING

public static final Voicemail.TYPE CUSTOM_GREETING

OUTGOING

public static final Voicemail.TYPE OUTGOING
Method Detail

values

public static Voicemail.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 (Voicemail.TYPE c : Voicemail.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 Voicemail.TYPE valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public int getId()

get

public static Voicemail.TYPE get(int code)

fromString

public static Voicemail.TYPE fromString(java.lang.String s)


Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.