public static final enum

FileUpload.State

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.gsma.services.rcs.upload.FileUpload.State

Class Overview

File upload state

Summary

Enum Values
FileUpload.State  ABORTED  Upload has been aborted  
FileUpload.State  FAILED  Upload has failed  
FileUpload.State  INITIATING  Initiating state  
FileUpload.State  STARTED  Upload is started  
FileUpload.State  TRANSFERRED  File has been transferred with success  
Public Methods
final int toInt()
Returns the value of this State as an integer.
static FileUpload.State valueOf(String name)
static FileUpload.State valueOf(int value)
Returns a State instance representing the specified integer value.
final static State[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final FileUpload.State ABORTED

Since: API Level

Upload has been aborted

public static final FileUpload.State FAILED

Since: API Level

Upload has failed

public static final FileUpload.State INITIATING

Since: API Level

Initiating state

public static final FileUpload.State STARTED

Since: API Level

Upload is started

public static final FileUpload.State TRANSFERRED

Since: API Level

File has been transferred with success

Public Methods

public final int toInt ()

Since: API Level 1.5

Returns the value of this State as an integer.

Returns
  • integer value

public static FileUpload.State valueOf (String name)

Since: API Level 1.5

public static FileUpload.State valueOf (int value)

Since: API Level 1.5

Returns a State instance representing the specified integer value.

Parameters
value the integer value
Returns
  • State instance

public static final State[] values ()

Since: API Level 1.5