com.skype.api
Enum Participant.RANK

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

public static enum Participant.RANK
extends java.lang.Enum<Participant.RANK>

Recognized values for the P_RANK property. The P_RANK controls participant's privileges in the conversation. See Participant.CanSetRankTo and Participant.SetRankTo methods.


Enum Constant Summary
ADMIN
          Participant who has administrator privileges
APPLICANT
          Participant who is applying to join the conversation.
CREATOR
          Creator of the chat.
OUTLAW
          Participant who has been banned from the chat
RETIRED
          Participant who has eft or has been kicked from the conversation
SPEAKER
          Participant who can speak and write
SPECTATOR
          Participant who can read but not write/speak
WRITER
          Participant who can write but not speak
 
Method Summary
static Participant.RANK fromString(java.lang.String s)
           
static Participant.RANK get(int code)
           
 int getId()
           
static Participant.RANK valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Participant.RANK[] 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

CREATOR

public static final Participant.RANK CREATOR
Creator of the chat. There can be only one participant with this type per conversation. Other participants cannot be promoted to Creator rank.


ADMIN

public static final Participant.RANK ADMIN
Participant who has administrator privileges


SPEAKER

public static final Participant.RANK SPEAKER
Participant who can speak and write


WRITER

public static final Participant.RANK WRITER
Participant who can write but not speak


SPECTATOR

public static final Participant.RANK SPECTATOR
Participant who can read but not write/speak


APPLICANT

public static final Participant.RANK APPLICANT
Participant who is applying to join the conversation. Member cannot be demoted to applicants once they have been accepted.


RETIRED

public static final Participant.RANK RETIRED
Participant who has eft or has been kicked from the conversation


OUTLAW

public static final Participant.RANK OUTLAW
Participant who has been banned from the chat

Method Detail

values

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

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

valueOf

public static Participant.RANK 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 Participant.RANK get(int code)

fromString

public static Participant.RANK fromString(java.lang.String s)


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