Enum Class FolderAction

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

public enum FolderAction extends Enum<FolderAction>
Actions that may be taken on shared folders.
  • Enum Constant Details

    • CHANGE_OPTIONS

      public static final FolderAction CHANGE_OPTIONS
      Change folder options, such as who can be invited to join the folder.
    • DISABLE_VIEWER_INFO

      public static final FolderAction DISABLE_VIEWER_INFO
      Disable viewer information for this folder.
    • EDIT_CONTENTS

      public static final FolderAction EDIT_CONTENTS
      Change or edit contents of the folder.
    • ENABLE_VIEWER_INFO

      public static final FolderAction ENABLE_VIEWER_INFO
      Enable viewer information on the folder.
    • INVITE_EDITOR

      public static final FolderAction INVITE_EDITOR
      Invite a user or group to join the folder with read and write permission.
    • INVITE_VIEWER

      public static final FolderAction INVITE_VIEWER
      Invite a user or group to join the folder with read permission.
    • INVITE_VIEWER_NO_COMMENT

      public static final FolderAction INVITE_VIEWER_NO_COMMENT
      Invite a user or group to join the folder with read permission but no comment permissions.
    • RELINQUISH_MEMBERSHIP

      public static final FolderAction RELINQUISH_MEMBERSHIP
      Relinquish one's own membership in the folder.
    • UNMOUNT

      public static final FolderAction UNMOUNT
      Unmount the folder.
    • UNSHARE

      public static final FolderAction UNSHARE
      Stop sharing this folder.
    • LEAVE_A_COPY

      public static final FolderAction LEAVE_A_COPY
      Keep a copy of the contents upon leaving or being kicked from the folder.
    • SET_ACCESS_INHERITANCE

      public static final FolderAction SET_ACCESS_INHERITANCE
      Set whether the folder inherits permissions from its parent.
    • OTHER

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