Package com.dropbox.core.v2.files
Enum ThumbnailSize
- java.lang.Object
-
- java.lang.Enum<ThumbnailSize>
-
- com.dropbox.core.v2.files.ThumbnailSize
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ThumbnailSize>
public enum ThumbnailSize extends java.lang.Enum<ThumbnailSize>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThumbnailSize
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ThumbnailSize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
W32H32
public static final ThumbnailSize W32H32
32 by 32 px.
-
W64H64
public static final ThumbnailSize W64H64
64 by 64 px.
-
W128H128
public static final ThumbnailSize W128H128
128 by 128 px.
-
W256H256
public static final ThumbnailSize W256H256
256 by 256 px.
-
W480H320
public static final ThumbnailSize W480H320
480 by 320 px.
-
W640H480
public static final ThumbnailSize W640H480
640 by 480 px.
-
W960H640
public static final ThumbnailSize W960H640
960 by 640 px.
-
W1024H768
public static final ThumbnailSize W1024H768
1024 by 768 px.
-
W2048H1536
public static final ThumbnailSize W2048H1536
2048 by 1536 px.
-
-
Method Detail
-
values
public static ThumbnailSize[] 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 (ThumbnailSize c : ThumbnailSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThumbnailSize 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
-
-