public static enum Publisher.CameraCaptureResolution extends java.lang.Enum<Publisher.CameraCaptureResolution>
resolution
parameter of the
Publisher.Publisher(Context context, String name, Publisher.CameraCaptureResolution
resolution, Publisher.CameraCaptureFrameRate frameRate)
constructor.Enum Constant and Description |
---|
HIGH
The highest available camera capture resolution supported in the OpenTok Android SDK
(1280x720) or the closest resolution supported on the device.
|
LOW
The lowest available camera capture resolution supported in the OpenTok Android SDK (352x288)
or the closest resolution supported on the device.
|
MEDIUM
VGA resolution (640x480) or the closest resolution supported on the device.
|
Modifier and Type | Method and Description |
---|---|
static Publisher.CameraCaptureResolution |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Publisher.CameraCaptureResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Publisher.CameraCaptureResolution LOW
public static final Publisher.CameraCaptureResolution MEDIUM
public static final Publisher.CameraCaptureResolution HIGH
public static Publisher.CameraCaptureResolution[] values()
for (Publisher.CameraCaptureResolution c : Publisher.CameraCaptureResolution.values()) System.out.println(c);
public static Publisher.CameraCaptureResolution 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 null