public final class VideoResolutionPreset
extends java.lang.Enum
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator |
CREATOR |
static VideoResolutionPreset |
VIDEO_RESOLUTION_1080p
Attempts to choose camera video resolution as closely as 1080p
|
static VideoResolutionPreset |
VIDEO_RESOLUTION_2160p
Attempts to choose camera video resolution as closely as 2160p
|
static VideoResolutionPreset |
VIDEO_RESOLUTION_480p
Attempts to choose camera video resolution as closely as 480p
|
static VideoResolutionPreset |
VIDEO_RESOLUTION_720p
Attempts to choose camera video resolution as closely as 720p
|
static VideoResolutionPreset |
VIDEO_RESOLUTION_DEFAULT
Will choose camera video resolution which is best for current device.
|
static VideoResolutionPreset |
VIDEO_RESOLUTION_MAX_AVAILABLE
Will choose max available camera video resolution
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getIdealHeight() |
static VideoResolutionPreset |
valueOf(java.lang.String name) |
static VideoResolutionPreset[] |
values() |
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
@NonNull public static final android.os.Parcelable.Creator CREATOR
public static VideoResolutionPreset[] values()
public static VideoResolutionPreset valueOf(java.lang.String name)
public int getIdealHeight()
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(@NonNull
android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable