Enum Video.VideoAspectRatio
- java.lang.Object
-
- java.lang.Enum<Video.VideoAspectRatio>
-
- com.linecorp.bot.model.message.flex.component.Video.VideoAspectRatio
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Video.VideoAspectRatio>
- Enclosing class:
- Video
public static enum Video.VideoAspectRatio extends java.lang.Enum<Video.VideoAspectRatio>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getRatio()
static Video.VideoAspectRatio
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Video.VideoAspectRatio[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
R1TO1
public static final Video.VideoAspectRatio R1TO1
-
R20TO13
public static final Video.VideoAspectRatio R20TO13
-
R1_91TO1
public static final Video.VideoAspectRatio R1_91TO1
-
R4TO3
public static final Video.VideoAspectRatio R4TO3
-
R16TO9
public static final Video.VideoAspectRatio R16TO9
-
R2TO1
public static final Video.VideoAspectRatio R2TO1
-
R3TO1
public static final Video.VideoAspectRatio R3TO1
-
R3TO4
public static final Video.VideoAspectRatio R3TO4
-
R9TO16
public static final Video.VideoAspectRatio R9TO16
-
R1TO2
public static final Video.VideoAspectRatio R1TO2
-
R1TO3
public static final Video.VideoAspectRatio R1TO3
-
R1_51TO1
public static final Video.VideoAspectRatio R1_51TO1
-
-
Method Detail
-
values
public static Video.VideoAspectRatio[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Video.VideoAspectRatio c : Video.VideoAspectRatio.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Video.VideoAspectRatio valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getRatio
public java.lang.String getRatio()
-
-