com.skype.api
Enum Voicemail.FailureReason

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

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


Enum Constant Summary
CONNECT_ERROR
           
FILE_READ_ERROR
           
FILE_WRITE_ERROR
           
MISC_ERROR
           
NO_PERMISSION
           
NO_SUCH_VOICEMAIL
           
NO_VOICEMAIL_CAPABILITY
           
PLAYBACK_ERROR
           
RECEIVER_DISABLED_VOICEMAIL
          receiver turned off voicemail
RECORDING_ERROR
           
SENDER_BLOCKED
          receiver blocked sender
SENDER_NOT_AUTHORIZED
          receiver has not authorized you and privacy is not set to anyone
 
Field Summary
static int CONNECT_ERROR_VALUE
           
static int FILE_READ_ERROR_VALUE
           
static int FILE_WRITE_ERROR_VALUE
           
static int MISC_ERROR_VALUE
           
static int NO_PERMISSION_VALUE
           
static int NO_SUCH_VOICEMAIL_VALUE
           
static int NO_VOICEMAIL_CAPABILITY_VALUE
           
static int PLAYBACK_ERROR_VALUE
           
static int RECEIVER_DISABLED_VOICEMAIL_VALUE
           
static int RECORDING_ERROR_VALUE
           
static int SENDER_BLOCKED_VALUE
           
static int SENDER_NOT_AUTHORIZED_VALUE
           
 
Method Summary
 EnumConverting convert(int from)
           
static Voicemail.FailureReason get(int from)
           
 EnumConverting[] getArray(int size)
           
 EnumConverting getDefault()
           
 int getId()
           
static Voicemail.FailureReason valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Voicemail.FailureReason[] 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

MISC_ERROR

public static final Voicemail.FailureReason MISC_ERROR

CONNECT_ERROR

public static final Voicemail.FailureReason CONNECT_ERROR

NO_VOICEMAIL_CAPABILITY

public static final Voicemail.FailureReason NO_VOICEMAIL_CAPABILITY

NO_SUCH_VOICEMAIL

public static final Voicemail.FailureReason NO_SUCH_VOICEMAIL

FILE_READ_ERROR

public static final Voicemail.FailureReason FILE_READ_ERROR

FILE_WRITE_ERROR

public static final Voicemail.FailureReason FILE_WRITE_ERROR

RECORDING_ERROR

public static final Voicemail.FailureReason RECORDING_ERROR

PLAYBACK_ERROR

public static final Voicemail.FailureReason PLAYBACK_ERROR

NO_PERMISSION

public static final Voicemail.FailureReason NO_PERMISSION

RECEIVER_DISABLED_VOICEMAIL

public static final Voicemail.FailureReason RECEIVER_DISABLED_VOICEMAIL
receiver turned off voicemail


SENDER_NOT_AUTHORIZED

public static final Voicemail.FailureReason SENDER_NOT_AUTHORIZED
receiver has not authorized you and privacy is not set to anyone


SENDER_BLOCKED

public static final Voicemail.FailureReason SENDER_BLOCKED
receiver blocked sender

Field Detail

MISC_ERROR_VALUE

public static final int MISC_ERROR_VALUE
See Also:
Constant Field Values

CONNECT_ERROR_VALUE

public static final int CONNECT_ERROR_VALUE
See Also:
Constant Field Values

NO_VOICEMAIL_CAPABILITY_VALUE

public static final int NO_VOICEMAIL_CAPABILITY_VALUE
See Also:
Constant Field Values

NO_SUCH_VOICEMAIL_VALUE

public static final int NO_SUCH_VOICEMAIL_VALUE
See Also:
Constant Field Values

FILE_READ_ERROR_VALUE

public static final int FILE_READ_ERROR_VALUE
See Also:
Constant Field Values

FILE_WRITE_ERROR_VALUE

public static final int FILE_WRITE_ERROR_VALUE
See Also:
Constant Field Values

RECORDING_ERROR_VALUE

public static final int RECORDING_ERROR_VALUE
See Also:
Constant Field Values

PLAYBACK_ERROR_VALUE

public static final int PLAYBACK_ERROR_VALUE
See Also:
Constant Field Values

NO_PERMISSION_VALUE

public static final int NO_PERMISSION_VALUE
See Also:
Constant Field Values

RECEIVER_DISABLED_VOICEMAIL_VALUE

public static final int RECEIVER_DISABLED_VOICEMAIL_VALUE
See Also:
Constant Field Values

SENDER_NOT_AUTHORIZED_VALUE

public static final int SENDER_NOT_AUTHORIZED_VALUE
See Also:
Constant Field Values

SENDER_BLOCKED_VALUE

public static final int SENDER_BLOCKED_VALUE
See Also:
Constant Field Values
Method Detail

values

public static Voicemail.FailureReason[] 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.FailureReason c : Voicemail.FailureReason.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.FailureReason 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.FailureReason get(int from)


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