Enum GiphySizingMode
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum GiphySizingMode extends Enum<GiphySizingMode>
Sets the way in which Giphy container sizing is determined.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<GiphySizingMode>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description ADAPTIVEAutomatically resizes Giphy containers while respecting the original Giphy image dimension ratio.
Setting this mode means that the container will ignore any width and height dimensions.
FIXED_SIZESets Giphy containers to fixed size mode.
Setting this mode means that the container will respect given width and height dimensions.
-
Method Summary
Modifier and Type Method Description final GiphySizingModevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<GiphySizingMode>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<GiphySizingMode>getEntries()Sets the way in which Giphy container sizing is determined. -
-
Method Detail
-
valueOf
final GiphySizingMode valueOf(String value)
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.)
-
values
final Array<GiphySizingMode> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<GiphySizingMode> getEntries()
Sets the way in which Giphy container sizing is determined.
-
-
-
-