public static final enum

FileTransfer.State

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.gsma.services.rcs.filetransfer.FileTransfer.State

Class Overview

File transfer state

Summary

Enum Values
FileTransfer.State  ABORTED  File transfer has been aborted  
FileTransfer.State  ACCEPTING  File transfer has been accepted and is in the process of becoming started  
FileTransfer.State  DELIVERED  File transfer has been delivered  
FileTransfer.State  DISPLAYED  File transfer has been displayed or opened  
FileTransfer.State  FAILED  File transfer has failed  
FileTransfer.State  INITIATING  File transfer initiating  
FileTransfer.State  INVITED  File transfer invitation received  
FileTransfer.State  PAUSED  File transfer is paused  
FileTransfer.State  QUEUED  File transfer has been queued  
FileTransfer.State  REJECTED  File transfer is rejected  
FileTransfer.State  STARTED  File transfer is started  
FileTransfer.State  TRANSFERRED  File transfer has been transferred with success  
Public Methods
final int toInt()
Returns the value of this State as an integer.
static FileTransfer.State valueOf(String name)
static FileTransfer.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 FileTransfer.State ABORTED

Since: API Level

File transfer has been aborted

public static final FileTransfer.State ACCEPTING

Since: API Level

File transfer has been accepted and is in the process of becoming started

public static final FileTransfer.State DELIVERED

Since: API Level

File transfer has been delivered

public static final FileTransfer.State DISPLAYED

Since: API Level

File transfer has been displayed or opened

public static final FileTransfer.State FAILED

Since: API Level

File transfer has failed

public static final FileTransfer.State INITIATING

Since: API Level

File transfer initiating

public static final FileTransfer.State INVITED

Since: API Level

File transfer invitation received

public static final FileTransfer.State PAUSED

Since: API Level

File transfer is paused

public static final FileTransfer.State QUEUED

Since: API Level

File transfer has been queued

public static final FileTransfer.State REJECTED

Since: API Level

File transfer is rejected

public static final FileTransfer.State STARTED

Since: API Level

File transfer is started

public static final FileTransfer.State TRANSFERRED

Since: API Level

File transfer 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 FileTransfer.State valueOf (String name)

Since: API Level 1.5

public static FileTransfer.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