public static enum UploadSessionLookupError.Tag extends Enum<UploadSessionLookupError.Tag>
UploadSessionLookupError
.Enum Constant and Description |
---|
CLOSED
You are attempting to append data to an upload session that has
alread been closed (i.e.
|
INCORRECT_OFFSET
The specified offset was incorrect.
|
NOT_CLOSED
The session must be closed before calling
upload_session/finish_batch.
|
NOT_FOUND
The upload session id was not found.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox
servers.
|
Modifier and Type | Method and Description |
---|---|
static UploadSessionLookupError.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UploadSessionLookupError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UploadSessionLookupError.Tag NOT_FOUND
public static final UploadSessionLookupError.Tag INCORRECT_OFFSET
public static final UploadSessionLookupError.Tag CLOSED
public static final UploadSessionLookupError.Tag NOT_CLOSED
public static final UploadSessionLookupError.Tag 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 UploadSessionLookupError.Tag[] values()
for (UploadSessionLookupError.Tag c : UploadSessionLookupError.Tag.values()) System.out.println(c);
public static UploadSessionLookupError.Tag 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