public enum SharingFileAccessError extends Enum<SharingFileAccessError>
Enum Constant and Description |
---|
INSIDE_OSX_PACKAGE
A Mac OS X package can't be shared this way.
|
INSIDE_PUBLIC_FOLDER
A file inside a public folder can't be shared this way.
|
INVALID_FILE
File specified was not found.
|
IS_FOLDER
A folder can't be shared this way.
|
NO_PERMISSION
Current user does not have sufficient privileges to perform the desired
action.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
Modifier and Type | Method and Description |
---|---|
static SharingFileAccessError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharingFileAccessError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharingFileAccessError NO_PERMISSION
public static final SharingFileAccessError INVALID_FILE
public static final SharingFileAccessError IS_FOLDER
public static final SharingFileAccessError INSIDE_PUBLIC_FOLDER
public static final SharingFileAccessError INSIDE_OSX_PACKAGE
public static final SharingFileAccessError 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 SharingFileAccessError[] values()
for (SharingFileAccessError c : SharingFileAccessError.values()) System.out.println(c);
public static SharingFileAccessError 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