public enum DesktopPlatform extends java.lang.Enum<DesktopPlatform>
Modifier and Type | Class and Description |
---|---|
static class |
DesktopPlatform.Serializer
For internal use only.
|
Enum Constant and Description |
---|
LINUX
Official Linux Dropbox desktop client.
|
MAC
Official Mac Dropbox desktop client.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
WINDOWS
Official Windows Dropbox desktop client.
|
Modifier and Type | Method and Description |
---|---|
static DesktopPlatform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DesktopPlatform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DesktopPlatform WINDOWS
public static final DesktopPlatform MAC
public static final DesktopPlatform LINUX
public static final DesktopPlatform OTHER
Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
public static DesktopPlatform[] values()
for (DesktopPlatform c : DesktopPlatform.values()) System.out.println(c);
public static DesktopPlatform 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