com.skype
Enum VoiceMail.Type

java.lang.Object
  extended by java.lang.Enum<VoiceMail.Type>
      extended by com.skype.VoiceMail.Type
All Implemented Interfaces:
Serializable, Comparable<VoiceMail.Type>
Enclosing class:
VoiceMail

public static enum VoiceMail.Type
extends Enum<VoiceMail.Type>

Enumeration of VoiceMail types.


Enum Constant Summary
CUSTOM_GREETING
           
DEFAULT_GREETING
           
INCOMING
          INCOMING - voicemail received from partner OUTGOING - voicemail sent to partner DEFAULT_GREETING - Skype default greeting from partner CUSTOM_GREETING - partner's recorded custom greeting UNKNOWN - unknown type
OUTGOING
           
UNKNOWN
           
 
Method Summary
static VoiceMail.Type valueOf(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
INCOMING - voicemail received from partner OUTGOING - voicemail sent to partner DEFAULT_GREETING - Skype default greeting from partner CUSTOM_GREETING - partner's recorded custom greeting UNKNOWN - unknown type


OUTGOING

public static final VoiceMail.Type OUTGOING

DEFAULT_GREETING

public static final VoiceMail.Type DEFAULT_GREETING

CUSTOM_GREETING

public static final VoiceMail.Type CUSTOM_GREETING

UNKNOWN

public static final VoiceMail.Type UNKNOWN
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(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.