SMSLib 3.5.3

org.smslib
Enum Message.MessageClasses

java.lang.Object
  extended by java.lang.Enum<Message.MessageClasses>
      extended by org.smslib.Message.MessageClasses
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Message.MessageClasses>
Enclosing class:
Message

public static enum Message.MessageClasses
extends java.lang.Enum<Message.MessageClasses>

Enumeration representing the different message classes.


Enum Constant Summary
MSGCLASS_FLASH
          Class 0 - Immediate display (alert).
MSGCLASS_ME
          Class 1 - ME specific
MSGCLASS_NONE
          Default option to set no message class meaning.
MSGCLASS_SIM
          Classs 2 - SIM specific
MSGCLASS_TE
          Class 3 - TE specific
 
Method Summary
static Message.MessageClasses valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Message.MessageClasses[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MSGCLASS_NONE

public static final Message.MessageClasses MSGCLASS_NONE
Default option to set no message class meaning.


MSGCLASS_FLASH

public static final Message.MessageClasses MSGCLASS_FLASH
Class 0 - Immediate display (alert).


MSGCLASS_ME

public static final Message.MessageClasses MSGCLASS_ME
Class 1 - ME specific


MSGCLASS_SIM

public static final Message.MessageClasses MSGCLASS_SIM
Classs 2 - SIM specific


MSGCLASS_TE

public static final Message.MessageClasses MSGCLASS_TE
Class 3 - TE specific

Method Detail

values

public static Message.MessageClasses[] 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 (Message.MessageClasses c : Message.MessageClasses.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Message.MessageClasses 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

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org