public enum MediaUseCase extends java.lang.Enum<MediaUseCase>
Enum Constant and Description |
---|
ANY
Represents any usecase.
|
CALL
Represents a standard call (voice/video).
|
DESKTOP
Represents a desktop streaming/sharing session.
|
Modifier and Type | Method and Description |
---|---|
static MediaUseCase |
parseString(java.lang.String mediaUseCase)
Returns a MediaUseCase value corresponding to the specified
mediaUseCase.
|
java.lang.String |
toString()
Returns the name of this MediaUseCase.
|
static MediaUseCase |
valueOf(java.lang.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.
|
public static final MediaUseCase ANY
public static final MediaUseCase CALL
public static final MediaUseCase DESKTOP
public static MediaUseCase[] values()
for (MediaUseCase c : MediaUseCase.values()) System.out.println(c);
public static MediaUseCase 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<MediaUseCase>
public static MediaUseCase parseString(java.lang.String mediaUseCase) throws java.lang.IllegalArgumentException
mediaUseCase
- the name that we'd like to parse.java.lang.IllegalArgumentException
- in case mediaUseCase is not a
valid or currently supported media usecase.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.