com.skype
Enum SMS.Type

java.lang.Object
  extended by java.lang.Enum<SMS.Type>
      extended by 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.


Enum Constant Summary
CONFIRMATION_CODE_REQUEST
           
CONFIRMATION_CODE_SUBMIT
           
INCOMING
          INCOMING - An incomming sms message.
OUTGOING
           
UNKNOWN
           
 
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.
 
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 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
Method Detail

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.