public static enum FlexMessageComponent.AspectRatio extends java.lang.Enum<FlexMessageComponent.AspectRatio>
| Enum Constant and Description |
|---|
RATIO_1_51x1 |
RATIO_1_91x1 |
RATIO_16x9 |
RATIO_1x1 |
RATIO_1x2 |
RATIO_1x3 |
RATIO_20x13 |
RATIO_2x1 |
RATIO_3x1 |
RATIO_3x4 |
RATIO_4x3 |
RATIO_9x16 |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static FlexMessageComponent.AspectRatio |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlexMessageComponent.AspectRatio[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlexMessageComponent.AspectRatio RATIO_1x1
public static final FlexMessageComponent.AspectRatio RATIO_1_51x1
public static final FlexMessageComponent.AspectRatio RATIO_1_91x1
public static final FlexMessageComponent.AspectRatio RATIO_4x3
public static final FlexMessageComponent.AspectRatio RATIO_16x9
public static final FlexMessageComponent.AspectRatio RATIO_20x13
public static final FlexMessageComponent.AspectRatio RATIO_2x1
public static final FlexMessageComponent.AspectRatio RATIO_3x1
public static final FlexMessageComponent.AspectRatio RATIO_3x4
public static final FlexMessageComponent.AspectRatio RATIO_9x16
public static final FlexMessageComponent.AspectRatio RATIO_1x2
public static final FlexMessageComponent.AspectRatio RATIO_1x3
public static FlexMessageComponent.AspectRatio[] values()
for (FlexMessageComponent.AspectRatio c : FlexMessageComponent.AspectRatio.values()) System.out.println(c);
public static FlexMessageComponent.AspectRatio 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 getValue()