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:
EnumConverting, java.io.Serializable, java.lang.Comparable<Voicemail.Type>
Enclosing class:
Voicemail

public static enum Voicemail.Type
extends java.lang.Enum<Voicemail.Type>
implements EnumConverting


Enum Constant Summary
CUSTOM_GREETING
           
DEFAULT_GREETING
           
INCOMING
           
OUTGOING
           
 
Field Summary
static int CUSTOM_GREETING_VALUE
           
static int DEFAULT_GREETING_VALUE
           
static int INCOMING_VALUE
           
static int OUTGOING_VALUE
           
 
Method Summary
 EnumConverting convert(int from)
           
static Voicemail.Type get(int from)
           
 EnumConverting[] getArray(int size)
           
 EnumConverting getDefault()
           
 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
Field Detail

INCOMING_VALUE

public static final int INCOMING_VALUE
See Also:
Constant Field Values

DEFAULT_GREETING_VALUE

public static final int DEFAULT_GREETING_VALUE
See Also:
Constant Field Values

CUSTOM_GREETING_VALUE

public static final int CUSTOM_GREETING_VALUE
See Also:
Constant Field Values

OUTGOING_VALUE

public static final int OUTGOING_VALUE
See Also:
Constant Field Values
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()
Specified by:
getId in interface EnumConverting

getDefault

public EnumConverting getDefault()
Specified by:
getDefault in interface EnumConverting

convert

public EnumConverting convert(int from)
Specified by:
convert in interface EnumConverting

getArray

public EnumConverting[] getArray(int size)
Specified by:
getArray in interface EnumConverting

get

public static Voicemail.Type get(int from)


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