public static enum SharePathError.Tag extends Enum<SharePathError.Tag>
SharePathError
.Enum Constant and Description |
---|
ALREADY_SHARED
Folder is already shared.
|
CONTAINS_APP_FOLDER
We do not support shared folders that contain app folders.
|
CONTAINS_SHARED_FOLDER
We do not support shared folders that contain shared folders.
|
CONTAINS_TEAM_FOLDER
We do not support shared folders that contain team folders.
|
INSIDE_APP_FOLDER
We do not support sharing a folder inside an app folder.
|
INSIDE_OSX_PACKAGE
We do not support sharing a folder inside a Mac OS X package.
|
INSIDE_PUBLIC_FOLDER
A folder inside a public folder can't be shared this way.
|
INSIDE_SHARED_FOLDER
We do not support sharing a folder inside a shared folder.
|
INVALID_PATH
Path is not valid.
|
INVALID_PATH_ROOT
The path root parameter provided is invalid.
|
IS_APP_FOLDER
We do not support sharing an app folder.
|
IS_FILE
A file is at the specified path.
|
IS_OSX_PACKAGE
We do not support sharing a Mac OS X package.
|
IS_PUBLIC_FOLDER
A public folder can't be shared this way.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox
servers.
|
Modifier and Type | Method and Description |
---|---|
static SharePathError.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharePathError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharePathError.Tag IS_FILE
public static final SharePathError.Tag INSIDE_SHARED_FOLDER
public static final SharePathError.Tag CONTAINS_SHARED_FOLDER
public static final SharePathError.Tag CONTAINS_APP_FOLDER
public static final SharePathError.Tag CONTAINS_TEAM_FOLDER
public static final SharePathError.Tag IS_APP_FOLDER
public static final SharePathError.Tag INSIDE_APP_FOLDER
public static final SharePathError.Tag IS_PUBLIC_FOLDER
public static final SharePathError.Tag INSIDE_PUBLIC_FOLDER
public static final SharePathError.Tag ALREADY_SHARED
public static final SharePathError.Tag INVALID_PATH
public static final SharePathError.Tag IS_OSX_PACKAGE
public static final SharePathError.Tag INSIDE_OSX_PACKAGE
public static final SharePathError.Tag INVALID_PATH_ROOT
public static final SharePathError.Tag 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 SharePathError.Tag[] values()
for (SharePathError.Tag c : SharePathError.Tag.values()) System.out.println(c);
public static SharePathError.Tag 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