public enum FileAction extends Enum<FileAction>
Enum Constant and Description |
---|
CREATE_LINK
Create a shared link to the file.
|
EDIT_CONTENTS
Change or edit contents of the file.
|
INVITE_VIEWER
Add a member with view permissions.
|
INVITE_VIEWER_NO_COMMENT
Add a member with view permissions but no comment permissions.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
RELINQUISH_MEMBERSHIP
Relinquish one's own membership to the file.
|
SHARE_LINK
This action is deprecated.
|
UNSHARE
Stop sharing this file.
|
Modifier and Type | Method and Description |
---|---|
static FileAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileAction EDIT_CONTENTS
public static final FileAction INVITE_VIEWER
public static final FileAction INVITE_VIEWER_NO_COMMENT
public static final FileAction UNSHARE
public static final FileAction RELINQUISH_MEMBERSHIP
public static final FileAction SHARE_LINK
public static final FileAction CREATE_LINK
public static final FileAction 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 FileAction[] values()
for (FileAction c : FileAction.values()) System.out.println(c);
public static FileAction 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