Package com.dropbox.core.v2.sharing
Enum Class SharingFileAccessError
- All Implemented Interfaces:
Serializable,Comparable<SharingFileAccessError>,Constable
User could not access this file.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA Mac OS X package can't be shared this way.A file inside a public folder can't be shared this way.File specified was not found.A folder can't be shared this way.Current user does not have sufficient privileges to perform the desired action.Catch-all used for unknown tag values returned by the Dropbox servers. -
Method Summary
Modifier and TypeMethodDescriptionstatic SharingFileAccessErrorReturns the enum constant of this class with the specified name.static SharingFileAccessError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_PERMISSION
Current user does not have sufficient privileges to perform the desired action. -
INVALID_FILE
File specified was not found. -
IS_FOLDER
A folder can't be shared this way. Use folder sharing or a shared link instead. -
INSIDE_PUBLIC_FOLDER
A file inside a public folder can't be shared this way. Use a public link instead. -
INSIDE_OSX_PACKAGE
A Mac OS X package can't be shared this way. Use a shared link instead. -
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-