Enum Class SharingFileAccessError

java.lang.Object
java.lang.Enum<SharingFileAccessError>
com.dropbox.core.v2.sharing.SharingFileAccessError
All Implemented Interfaces:
Serializable, Comparable<SharingFileAccessError>, Constable

public enum SharingFileAccessError extends Enum<SharingFileAccessError>
User could not access this file.
  • Enum Constant Details

    • NO_PERMISSION

      public static final SharingFileAccessError NO_PERMISSION
      Current user does not have sufficient privileges to perform the desired action.
    • INVALID_FILE

      public static final SharingFileAccessError INVALID_FILE
      File specified was not found.
    • IS_FOLDER

      public static final SharingFileAccessError IS_FOLDER
      A folder can't be shared this way. Use folder sharing or a shared link instead.
    • INSIDE_PUBLIC_FOLDER

      public 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_PACKAGE

      public static final SharingFileAccessError INSIDE_OSX_PACKAGE
      A Mac OS X package can't be shared this way. Use a shared link instead.
    • OTHER

      public 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 Details

    • values

      public static SharingFileAccessError[] 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

      public static SharingFileAccessError valueOf(String name)
      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 name
      NullPointerException - if the argument is null