public enum MemberAction extends Enum<MemberAction>
Enum Constant and Description |
---|
LEAVE_A_COPY
Allow the member to keep a copy of the folder when removing.
|
MAKE_EDITOR
Make the member an editor of the folder.
|
MAKE_OWNER
Make the member an owner of the folder.
|
MAKE_VIEWER
Make the member a viewer of the folder.
|
MAKE_VIEWER_NO_COMMENT
Make the member a viewer of the folder without commenting permissions.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
REMOVE
Remove the member from the folder.
|
Modifier and Type | Method and Description |
---|---|
static MemberAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberAction LEAVE_A_COPY
public static final MemberAction MAKE_EDITOR
public static final MemberAction MAKE_OWNER
public static final MemberAction MAKE_VIEWER
public static final MemberAction MAKE_VIEWER_NO_COMMENT
public static final MemberAction REMOVE
public static final MemberAction OTHER
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.
public static MemberAction[] values()
for (MemberAction c : MemberAction.values()) System.out.println(c);
public static MemberAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null