|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MediaUseCase>
net.java.sip.communicator.service.neomedia.MediaUseCase
public enum MediaUseCase
The MediaUseCase enumeration contains a list of use-cases for media related. Typically it can be used to differentiate a video call (video comes from webcam) and desktop session (video comes from desktop).
| Enum Constant Summary | |
|---|---|
ANY
Represents any usecase. |
|
CALL
Represents a standard call (voice/video). |
|
DESKTOP
Represents a desktop streaming/sharing session. |
|
| Method Summary | |
|---|---|
static MediaUseCase |
parseString(String mediaUseCase)
Returns a MediaUseCase value corresponding to the specified mediaUseCase. |
String |
toString()
Returns the name of this MediaUseCase. |
static MediaUseCase |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MediaUseCase[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MediaUseCase ANY
public static final MediaUseCase CALL
public static final MediaUseCase DESKTOP
| Method Detail |
|---|
public static MediaUseCase[] values()
for (MediaUseCase c : MediaUseCase.values()) System.out.println(c);
public static MediaUseCase valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<MediaUseCase>
public static MediaUseCase parseString(String mediaUseCase)
throws IllegalArgumentException
mediaUseCase - the name that we'd like to parse.
IllegalArgumentException - in case mediaUseCase is not a
valid or currently supported media usecase.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||