public static enum Video.ProjectionFormat extends java.lang.Enum<Video.ProjectionFormat>
Enum Constant and Description |
---|
EQUIRECTANGULAR
Standard equi-rectangular 360 degree projection format.
|
NORMAL
Normal projection format.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name
The human readable name of the format.
|
Modifier and Type | Method and Description |
---|---|
static Video.ProjectionFormat |
parse(java.lang.Object value)
Matches the given value to list of known projection format names.
|
static Video.ProjectionFormat |
parse(java.lang.Object value,
Video.ProjectionFormat defaultProjectionFormat)
Matches the given value to list of known projection format names.
|
java.lang.String |
toString()
Overrides the base implementation to return the name of the format as string.
|
static Video.ProjectionFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Video.ProjectionFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="NORMAL") public static final Video.ProjectionFormat NORMAL
@SerializedName(value="EQUIRECTANGULAR") public static final Video.ProjectionFormat EQUIRECTANGULAR
public static Video.ProjectionFormat[] values()
for (Video.ProjectionFormat c : Video.ProjectionFormat.values()) System.out.println(c);
public static Video.ProjectionFormat 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 java.lang.String toString()
toString
in class java.lang.Enum<Video.ProjectionFormat>
@Nullable public static Video.ProjectionFormat parse(@Nullable java.lang.Object value, @Nullable Video.ProjectionFormat defaultProjectionFormat)
value
- the value to be matches.defaultProjectionFormat
- the value that will be returned if the given value does not match
any of the known projection format names.@Nullable public static Video.ProjectionFormat parse(@Nullable java.lang.Object value)
value
- the value to be matches.