public static enum Constants.MediaRecorderStreamType extends java.lang.Enum<Constants.MediaRecorderStreamType>
| Enum Constant and Description |
|---|
STREAM_TYPE_AUDIO
Only audio.
|
STREAM_TYPE_BOTH
(Default) Audio and video.
|
STREAM_TYPE_VIDEO
Only video.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.MediaRecorderStreamType |
fromInt(int value) |
int |
getValue() |
static Constants.MediaRecorderStreamType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.MediaRecorderStreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.MediaRecorderStreamType STREAM_TYPE_AUDIO
public static final Constants.MediaRecorderStreamType STREAM_TYPE_VIDEO
public static final Constants.MediaRecorderStreamType STREAM_TYPE_BOTH
public static Constants.MediaRecorderStreamType[] values()
for (Constants.MediaRecorderStreamType c : Constants.MediaRecorderStreamType.values()) System.out.println(c);
public static Constants.MediaRecorderStreamType 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 int getValue()
public static Constants.MediaRecorderStreamType fromInt(int value)