public enum DesktopPlatform extends Enum<DesktopPlatform>
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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null