com.skype
Enum SMS.FailureReason
java.lang.Object
java.lang.Enum<SMS.FailureReason>
com.skype.SMS.FailureReason
- All Implemented Interfaces:
- Serializable, Comparable<SMS.FailureReason>
- Enclosing class:
- SMS
public static enum SMS.FailureReason
- extends Enum<SMS.FailureReason>
Enumeration of SMS failure reason.
MISC_ERROR
public static final SMS.FailureReason MISC_ERROR
- MISC_ERROR - Error not specified.
SERVER_CONNECT_FAILED - Skype could not connect to SMS server.
NO_SMS_CAPABILITY - SMS is not supported.
INSUFFICIENT_FUNDS - User has not enough Skype credits.
INVALID_CONFIRMATION_CODE - Confirmation code to link cell phone number to Skype ID is incorrect.
USER_BLOCKED - User is blocked.
IP_BLOCKED - IP of user is blocked.
NODE_BLOCKED - Node of user is blocked.
UNKNOWN - Something went wrong but who knows.
SERVER_CONNECT_FAILED
public static final SMS.FailureReason SERVER_CONNECT_FAILED
NO_SMS_CAPABILITY
public static final SMS.FailureReason NO_SMS_CAPABILITY
INSUFFICIENT_FUNDS
public static final SMS.FailureReason INSUFFICIENT_FUNDS
INVALID_CONFIRMATION_CODE
public static final SMS.FailureReason INVALID_CONFIRMATION_CODE
USER_BLOCKED
public static final SMS.FailureReason USER_BLOCKED
IP_BLOCKED
public static final SMS.FailureReason IP_BLOCKED
NODE_BLOCKED
public static final SMS.FailureReason NODE_BLOCKED
UNKNOWN
public static final SMS.FailureReason UNKNOWN
values
public static SMS.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 (SMS.FailureReason c : SMS.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 SMS.FailureReason 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.