public enum MediaUseCase extends 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(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.
|
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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - 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.Copyright © 2022 jitsi.org. All rights reserved.