public enum VideoResolutionPreset extends java.lang.Enum<VideoResolutionPreset> implements android.os.Parcelable
| Enum Constant and Description |
|---|
VIDEO_RESOLUTION_1080p
Attempts to choose camera video resolution as closely as 1080p
|
VIDEO_RESOLUTION_2160p
Attempts to choose camera video resolution as closely as 2160p
|
VIDEO_RESOLUTION_480p
Attempts to choose camera video resolution as closely as 480p
|
VIDEO_RESOLUTION_720p
Attempts to choose camera video resolution as closely as 720p
|
VIDEO_RESOLUTION_DEFAULT
Will choose camera video resolution which is best for current device.
|
VIDEO_RESOLUTION_MAX_AVAILABLE
Will choose max available camera video resolution
|
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<VideoResolutionPreset> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getIdealHeight() |
static VideoResolutionPreset |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VideoResolutionPreset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final VideoResolutionPreset VIDEO_RESOLUTION_DEFAULT
public static final VideoResolutionPreset VIDEO_RESOLUTION_480p
public static final VideoResolutionPreset VIDEO_RESOLUTION_720p
public static final VideoResolutionPreset VIDEO_RESOLUTION_1080p
public static final VideoResolutionPreset VIDEO_RESOLUTION_2160p
public static final VideoResolutionPreset VIDEO_RESOLUTION_MAX_AVAILABLE
public static final android.os.Parcelable.Creator<VideoResolutionPreset> CREATOR
public static VideoResolutionPreset[] values()
for (VideoResolutionPreset c : VideoResolutionPreset.values()) System.out.println(c);
public static VideoResolutionPreset 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 getIdealHeight()
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable