Enum SharePathError.Tag

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SharePathError.Tag valueOf​(java.lang.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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • IS_FILE

        public static final SharePathError.Tag IS_FILE
        A file is at the specified path.
      • INSIDE_SHARED_FOLDER

        public static final SharePathError.Tag INSIDE_SHARED_FOLDER
        We do not support sharing a folder inside a shared folder.
      • CONTAINS_SHARED_FOLDER

        public static final SharePathError.Tag CONTAINS_SHARED_FOLDER
        We do not support shared folders that contain shared folders.
      • CONTAINS_APP_FOLDER

        public static final SharePathError.Tag CONTAINS_APP_FOLDER
        We do not support shared folders that contain app folders.
      • CONTAINS_TEAM_FOLDER

        public static final SharePathError.Tag CONTAINS_TEAM_FOLDER
        We do not support shared folders that contain team folders.
      • IS_APP_FOLDER

        public static final SharePathError.Tag IS_APP_FOLDER
        We do not support sharing an app folder.
      • INSIDE_APP_FOLDER

        public static final SharePathError.Tag INSIDE_APP_FOLDER
        We do not support sharing a folder inside an app folder.
      • IS_PUBLIC_FOLDER

        public static final SharePathError.Tag IS_PUBLIC_FOLDER
        A public folder can't be shared this way. Use a public link instead.
      • INSIDE_PUBLIC_FOLDER

        public static final SharePathError.Tag INSIDE_PUBLIC_FOLDER
        A folder inside a public folder can't be shared this way. Use a public link instead.
      • ALREADY_SHARED

        public static final SharePathError.Tag ALREADY_SHARED
        Folder is already shared. Contains metadata about the existing shared folder.
      • IS_OSX_PACKAGE

        public static final SharePathError.Tag IS_OSX_PACKAGE
        We do not support sharing a Mac OS X package.
      • INSIDE_OSX_PACKAGE

        public static final SharePathError.Tag INSIDE_OSX_PACKAGE
        We do not support sharing a folder inside a Mac OS X package.
      • IS_VAULT

        public static final SharePathError.Tag IS_VAULT
        We do not support sharing the Vault folder.
      • IS_VAULT_LOCKED

        public static final SharePathError.Tag IS_VAULT_LOCKED
        We do not support sharing a folder inside a locked Vault.
      • IS_FAMILY

        public static final SharePathError.Tag IS_FAMILY
        We do not support sharing the Family folder.
      • OTHER

        public static final SharePathError.Tag 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

      • values

        public static SharePathError.Tag[] 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 (SharePathError.Tag c : SharePathError.Tag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SharePathError.Tag 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