com.skype.api
Enum Sms.TYPE

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

public static enum Sms.TYPE
extends java.lang.Enum<Sms.TYPE>


Enum Constant Summary
CONFIRMATION_CODE_REQUEST
          a message requesting a SMS confirmation code be sent to the number provided
CONFIRMATION_CODE_SUBMIT
          a message returning the SMS confirmation code received as a result of a CONFIRMATION_CODE_REQUEST to authorize it
OUTGOING
          a normal outgoing SMS message
 
Method Summary
static Sms.TYPE fromString(java.lang.String s)
           
static Sms.TYPE get(int code)
           
 int getId()
           
static Sms.TYPE valueOf(java.lang.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

OUTGOING

public static final Sms.TYPE OUTGOING
a normal outgoing SMS message


CONFIRMATION_CODE_REQUEST

public static final Sms.TYPE CONFIRMATION_CODE_REQUEST
a message requesting a SMS confirmation code be sent to the number provided


CONFIRMATION_CODE_SUBMIT

public static final Sms.TYPE CONFIRMATION_CODE_SUBMIT
a message returning the SMS confirmation code received as a result of a CONFIRMATION_CODE_REQUEST to authorize it

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(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()

get

public static Sms.TYPE get(int code)

fromString

public static Sms.TYPE fromString(java.lang.String s)


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