public static enum ShareMessengerGenericTemplateContent.ImageAspectRatio extends java.lang.Enum<ShareMessengerGenericTemplateContent.ImageAspectRatio>
| Enum Constant and Description |
|---|
HORIZONTAL
The aspect ratio for image is 1:1.91.
|
SQUARE
The aspect ratio for image is 1:1.
|
| Modifier and Type | Method and Description |
|---|---|
static ShareMessengerGenericTemplateContent.ImageAspectRatio |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShareMessengerGenericTemplateContent.ImageAspectRatio[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareMessengerGenericTemplateContent.ImageAspectRatio HORIZONTAL
public static final ShareMessengerGenericTemplateContent.ImageAspectRatio SQUARE
public static ShareMessengerGenericTemplateContent.ImageAspectRatio[] values()
for (ShareMessengerGenericTemplateContent.ImageAspectRatio c : ShareMessengerGenericTemplateContent.ImageAspectRatio.values()) System.out.println(c);
public static ShareMessengerGenericTemplateContent.ImageAspectRatio 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 null