|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Participant.Rank>
com.skype.api.Participant.Rank
public static 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 |
|
| Field Summary | |
|---|---|
static int |
ADMIN_VALUE
|
static int |
APPLICANT_VALUE
|
static int |
CREATOR_VALUE
|
static int |
OUTLAW_VALUE
|
static int |
RETIRED_VALUE
|
static int |
SPEAKER_VALUE
|
static int |
SPECTATOR_VALUE
|
static int |
WRITER_VALUE
|
| Method Summary | |
|---|---|
EnumConverting |
convert(int from)
|
static Participant.Rank |
get(int from)
|
EnumConverting[] |
getArray(int size)
|
EnumConverting |
getDefault()
|
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 |
|---|
public static final Participant.Rank CREATOR
public static final Participant.Rank ADMIN
public static final Participant.Rank SPEAKER
public static final Participant.Rank WRITER
public static final Participant.Rank SPECTATOR
public static final Participant.Rank APPLICANT
public static final Participant.Rank RETIRED
public static final Participant.Rank OUTLAW
| Field Detail |
|---|
public static final int CREATOR_VALUE
public static final int ADMIN_VALUE
public static final int SPEAKER_VALUE
public static final int WRITER_VALUE
public static final int SPECTATOR_VALUE
public static final int APPLICANT_VALUE
public static final int RETIRED_VALUE
public static final int OUTLAW_VALUE
| Method Detail |
|---|
public static Participant.Rank[] values()
for (Participant.Rank c : Participant.Rank.values()) System.out.println(c);
public static Participant.Rank valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getId()
getId in interface EnumConvertingpublic EnumConverting getDefault()
getDefault in interface EnumConvertingpublic EnumConverting convert(int from)
convert in interface EnumConvertingpublic EnumConverting[] getArray(int size)
getArray in interface EnumConvertingpublic static Participant.Rank get(int from)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||