com.skype
Enum SMS.Type
java.lang.Object
java.lang.Enum<SMS.Type>
com.skype.SMS.Type
- All Implemented Interfaces:
- Serializable, Comparable<SMS.Type>
- Enclosing class:
- SMS
public static enum SMS.Type
- extends Enum<SMS.Type>
Enumeration of SMS types.
Method Summary |
static SMS.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SMS.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
INCOMING
public static final SMS.Type INCOMING
- INCOMING - An incomming sms message.
OUTGOING - A sent SMS message.
CONFIRMATION_CODE_REQUEST - A special SMS to link cell phone number with skype.
CONFIRMATION_CODE_SUBMIT - A special Message to confirm link cell phone number with skype.
UNKNOWN - Type of this SMS is unknown.
OUTGOING
public static final SMS.Type OUTGOING
CONFIRMATION_CODE_REQUEST
public static final SMS.Type CONFIRMATION_CODE_REQUEST
CONFIRMATION_CODE_SUBMIT
public static final SMS.Type CONFIRMATION_CODE_SUBMIT
UNKNOWN
public static final SMS.Type UNKNOWN
values
public static SMS.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 (SMS.Type c : SMS.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 SMS.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.