public static enum DropboxAPI.ThumbSize extends java.lang.Enum<DropboxAPI.ThumbSize>
| Enum Constant and Description |
|---|
BESTFIT_1024x768
Fits within 1024x768 or 768x1024
|
BESTFIT_320x240
Will either fit within a 320 x 240 rectangle or a
240 x 320 rectangle, whichever results in a larger image.
|
BESTFIT_480x320
Fits within 480x320 or 320x480
|
BESTFIT_640x480
Fits within 640x480 or 480x640
|
BESTFIT_960x640
Fits within 960x640 or 640x960
|
ICON_128x128
128 width or 128 height, with original aspect ratio.
|
ICON_256x256
256 width or 256 height, with original aspect ratio.
|
ICON_32x32
Will have at most a 32 width or 32 height, maintaining its
original aspect ratio.
|
ICON_64x64
64 width or 64 height, with original aspect ratio.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toAPISize() |
static DropboxAPI.ThumbSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DropboxAPI.ThumbSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DropboxAPI.ThumbSize ICON_32x32
public static final DropboxAPI.ThumbSize ICON_64x64
public static final DropboxAPI.ThumbSize ICON_128x128
public static final DropboxAPI.ThumbSize ICON_256x256
public static final DropboxAPI.ThumbSize BESTFIT_320x240
public static final DropboxAPI.ThumbSize BESTFIT_480x320
public static final DropboxAPI.ThumbSize BESTFIT_640x480
public static final DropboxAPI.ThumbSize BESTFIT_960x640
public static final DropboxAPI.ThumbSize BESTFIT_1024x768
public static DropboxAPI.ThumbSize[] values()
for (DropboxAPI.ThumbSize c : DropboxAPI.ThumbSize.values()) System.out.println(c);
public static DropboxAPI.ThumbSize 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 toAPISize()