public enum WebRtcChannel extends Enum<WebRtcChannel>
| Enum Constant and Description |
|---|
AUDIO_AND_VIDEO |
AUDIO_ONLY |
VIDEO_ONLY |
| Modifier and Type | Method and Description |
|---|---|
String |
getJsFunction() |
String |
toString() |
static WebRtcChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebRtcChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebRtcChannel VIDEO_ONLY
public static final WebRtcChannel AUDIO_ONLY
public static final WebRtcChannel AUDIO_AND_VIDEO
public static WebRtcChannel[] values()
for (WebRtcChannel c : WebRtcChannel.values()) System.out.println(c);
public static WebRtcChannel 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 getJsFunction()
public String toString()
toString in class Enum<WebRtcChannel>Copyright © 2021 Kurento. All rights reserved.