com.skype.api
Enum Sms.SetBodyResult

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

public static enum Sms.SetBodyResult
extends java.lang.Enum<Sms.SetBodyResult>
implements EnumConverting


Enum Constant Summary
BODY_INVALID
          body not set.
BODY_LASTCHAR_IGNORED
          last unicode char was ignored, as some of the text would be deleted due to conversion
BODY_OK
          body was set OK
BODY_TRUNCATED
          body too long.
 
Field Summary
static int BODY_INVALID_VALUE
           
static int BODY_LASTCHAR_IGNORED_VALUE
           
static int BODY_OK_VALUE
           
static int BODY_TRUNCATED_VALUE
           
 
Method Summary
 EnumConverting convert(int from)
           
static Sms.SetBodyResult get(int from)
           
 EnumConverting[] getArray(int size)
           
 EnumConverting getDefault()
           
 int getId()
           
static Sms.SetBodyResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Sms.SetBodyResult[] 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

BODY_INVALID

public static final Sms.SetBodyResult BODY_INVALID
body not set. message status wrong or invalid, or body not valid utf8 string


BODY_TRUNCATED

public static final Sms.SetBodyResult BODY_TRUNCATED
body too long. set, but truncated. charsUntilNextChunk contains maxChunks value


BODY_OK

public static final Sms.SetBodyResult BODY_OK
body was set OK


BODY_LASTCHAR_IGNORED

public static final Sms.SetBodyResult BODY_LASTCHAR_IGNORED
last unicode char was ignored, as some of the text would be deleted due to conversion

Field Detail

BODY_INVALID_VALUE

public static final int BODY_INVALID_VALUE
See Also:
Constant Field Values

BODY_TRUNCATED_VALUE

public static final int BODY_TRUNCATED_VALUE
See Also:
Constant Field Values

BODY_OK_VALUE

public static final int BODY_OK_VALUE
See Also:
Constant Field Values

BODY_LASTCHAR_IGNORED_VALUE

public static final int BODY_LASTCHAR_IGNORED_VALUE
See Also:
Constant Field Values
Method Detail

values

public static Sms.SetBodyResult[] 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.SetBodyResult c : Sms.SetBodyResult.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.SetBodyResult 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()
Specified by:
getId in interface EnumConverting

getDefault

public EnumConverting getDefault()
Specified by:
getDefault in interface EnumConverting

convert

public EnumConverting convert(int from)
Specified by:
convert in interface EnumConverting

getArray

public EnumConverting[] getArray(int size)
Specified by:
getArray in interface EnumConverting

get

public static Sms.SetBodyResult get(int from)


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