com.skype.api
Enum Message.SetMetadataKey

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

public static enum Message.SetMetadataKey
extends java.lang.Enum<Message.SetMetadataKey>
implements EnumConverting

For messages of type SET_METADATA that alert participants to changes to the associated Conversation's metadata, indicates which metadata property changed and its P_BODY_XML property contains the changed data. Your UI is expected to detect messages with PARAM_KEY set and to update its visual representation of Conversation accordingly. You can use the associated Conversation's properties and methods to obtain the updated metadata rather than parse the message body XML, for example, Conversation.P_META_PICTURE and Conversation.Conversation.GetPropMetaPicture.


Enum Constant Summary
SET_META_GUIDELINES
          Notification message that conversation guidelines have changed.
SET_META_NAME
          Notification message that conversation name has changed.
SET_META_PICTURE
          Notification message that conversation picture has changed.
SET_META_TOPIC
          Notification message that conversation topic has changed.
 
Field Summary
static int SET_META_GUIDELINES_VALUE
           
static int SET_META_NAME_VALUE
           
static int SET_META_PICTURE_VALUE
           
static int SET_META_TOPIC_VALUE
           
 
Method Summary
 EnumConverting convert(int from)
           
static Message.SetMetadataKey get(int from)
           
 EnumConverting[] getArray(int size)
           
 EnumConverting getDefault()
           
 int getId()
           
static Message.SetMetadataKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Message.SetMetadataKey[] 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

SET_META_NAME

public static final Message.SetMetadataKey SET_META_NAME
Notification message that conversation name has changed.


SET_META_TOPIC

public static final Message.SetMetadataKey SET_META_TOPIC
Notification message that conversation topic has changed.


SET_META_GUIDELINES

public static final Message.SetMetadataKey SET_META_GUIDELINES
Notification message that conversation guidelines have changed.


SET_META_PICTURE

public static final Message.SetMetadataKey SET_META_PICTURE
Notification message that conversation picture has changed.

Field Detail

SET_META_NAME_VALUE

public static final int SET_META_NAME_VALUE
See Also:
Constant Field Values

SET_META_TOPIC_VALUE

public static final int SET_META_TOPIC_VALUE
See Also:
Constant Field Values

SET_META_GUIDELINES_VALUE

public static final int SET_META_GUIDELINES_VALUE
See Also:
Constant Field Values

SET_META_PICTURE_VALUE

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

values

public static Message.SetMetadataKey[] 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.SetMetadataKey c : Message.SetMetadataKey.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.SetMetadataKey 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 Message.SetMetadataKey get(int from)


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