Enum AddFolderMemberError.Tag

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACCESS_ERROR
      Unable to access shared folder.
      BAD_MEMBER
      AddFolderMemberArg.getMembers() contains a bad invitation recipient.
      BANNED_MEMBER
      The current user has been banned.
      CANT_SHARE_OUTSIDE_TEAM
      Your team policy does not allow sharing outside of the team.
      EMAIL_UNVERIFIED
      This user's email address is not verified.
      INSUFFICIENT_PLAN
      The current user's account doesn't support this action.
      INVALID_SHARED_FOLDER
      Invalid shared folder error will be returned as an access_error.
      NO_PERMISSION
      The current user does not have permission to perform this action.
      OTHER
      Catch-all used for unknown tag values returned by the Dropbox servers.
      RATE_LIMIT
      The current user has hit the limit of invites they can send per day.
      TEAM_FOLDER
      This action cannot be performed on a team shared folder.
      TOO_MANY_INVITEES
      The current user is trying to share with too many people at once.
      TOO_MANY_MEMBERS
      The value is the member limit that was reached.
      TOO_MANY_PENDING_INVITES
      The value is the pending invite limit that was reached.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AddFolderMemberError.Tag valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static AddFolderMemberError.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

      • EMAIL_UNVERIFIED

        public static final AddFolderMemberError.Tag EMAIL_UNVERIFIED
        This user's email address is not verified. This functionality is only available on accounts with a verified email address. Users can verify their email address here.
      • BAD_MEMBER

        public static final AddFolderMemberError.Tag BAD_MEMBER
        AddFolderMemberArg.getMembers() contains a bad invitation recipient.
      • CANT_SHARE_OUTSIDE_TEAM

        public static final AddFolderMemberError.Tag CANT_SHARE_OUTSIDE_TEAM
        Your team policy does not allow sharing outside of the team.
      • TOO_MANY_MEMBERS

        public static final AddFolderMemberError.Tag TOO_MANY_MEMBERS
        The value is the member limit that was reached.
      • TOO_MANY_PENDING_INVITES

        public static final AddFolderMemberError.Tag TOO_MANY_PENDING_INVITES
        The value is the pending invite limit that was reached.
      • RATE_LIMIT

        public static final AddFolderMemberError.Tag RATE_LIMIT
        The current user has hit the limit of invites they can send per day. Try again in 24 hours.
      • TOO_MANY_INVITEES

        public static final AddFolderMemberError.Tag TOO_MANY_INVITEES
        The current user is trying to share with too many people at once.
      • INSUFFICIENT_PLAN

        public static final AddFolderMemberError.Tag INSUFFICIENT_PLAN
        The current user's account doesn't support this action. An example of this is when adding a read-only member. This action can only be performed by users that have upgraded to a Pro or Business plan.
      • TEAM_FOLDER

        public static final AddFolderMemberError.Tag TEAM_FOLDER
        This action cannot be performed on a team shared folder.
      • NO_PERMISSION

        public static final AddFolderMemberError.Tag NO_PERMISSION
        The current user does not have permission to perform this action.
      • INVALID_SHARED_FOLDER

        public static final AddFolderMemberError.Tag INVALID_SHARED_FOLDER
        Invalid shared folder error will be returned as an access_error.
      • OTHER

        public static final AddFolderMemberError.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 AddFolderMemberError.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 (AddFolderMemberError.Tag c : AddFolderMemberError.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 AddFolderMemberError.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