public enum MediaStreamEvent extends Enum<MediaStreamEvent>
Enum Constant and Description |
---|
LOCAL_STREAM_ADDED
Local media stream has been added to the call.
|
LOCAL_STREAM_ERROR
Error with the local media stream.
|
LOCAL_STREAM_REMOVED
Local media stream has been removed from the call.
|
REMOTE_STREAM_ADDED
Remote media stream has been added to the call.
|
REMOTE_STREAM_ERROR
Error with the remote media stream.
|
REMOTE_STREAM_REMOVED
Remote media stream has been removed from the call.
|
Modifier and Type | Method and Description |
---|---|
static MediaStreamEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaStreamEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaStreamEvent LOCAL_STREAM_ADDED
public static final MediaStreamEvent LOCAL_STREAM_REMOVED
public static final MediaStreamEvent LOCAL_STREAM_ERROR
public static final MediaStreamEvent REMOTE_STREAM_ADDED
public static final MediaStreamEvent REMOTE_STREAM_REMOVED
public static final MediaStreamEvent REMOTE_STREAM_ERROR
public static MediaStreamEvent[] values()
for (MediaStreamEvent c : MediaStreamEvent.values()) System.out.println(c);
public static MediaStreamEvent 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 null