Package com.dropbox.core.v2.sharing
Enum SharingFileAccessError
- java.lang.Object
- 
- java.lang.Enum<SharingFileAccessError>
- 
- com.dropbox.core.v2.sharing.SharingFileAccessError
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<SharingFileAccessError>
 
 public enum SharingFileAccessError extends java.lang.Enum<SharingFileAccessError> User could not access this file.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description INSIDE_OSX_PACKAGEA Mac OS X package can't be shared this way.INSIDE_PUBLIC_FOLDERA file inside a public folder can't be shared this way.INVALID_FILEFile specified was not found.IS_FOLDERA folder can't be shared this way.NO_PERMISSIONCurrent user does not have sufficient privileges to perform the desired action.OTHERCatch-all used for unknown tag values returned by the Dropbox servers.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SharingFileAccessErrorvalueOf(java.lang.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.
 
- 
- 
- 
Enum Constant Detail- 
NO_PERMISSIONpublic static final SharingFileAccessError NO_PERMISSION Current user does not have sufficient privileges to perform the desired action.
 - 
INVALID_FILEpublic static final SharingFileAccessError INVALID_FILE File specified was not found.
 - 
IS_FOLDERpublic static final SharingFileAccessError IS_FOLDER A folder can't be shared this way. Use folder sharing or a shared link instead.
 - 
INSIDE_PUBLIC_FOLDERpublic static final SharingFileAccessError INSIDE_PUBLIC_FOLDER A file inside a public folder can't be shared this way. Use a public link instead.
 - 
INSIDE_OSX_PACKAGEpublic static final SharingFileAccessError INSIDE_OSX_PACKAGE A Mac OS X package can't be shared this way. Use a shared link instead.
 - 
OTHERpublic static final SharingFileAccessError 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 Detail- 
valuespublic static SharingFileAccessError[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SharingFileAccessError c : SharingFileAccessError.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static SharingFileAccessError valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-