public static final enum

RcsServiceListener.ReasonCode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.gsma.services.rcs.RcsServiceListener.ReasonCode

Class Overview

ReasonCode

Summary

Enum Values
RcsServiceListener.ReasonCode  CONNECTION_LOST  Service connection has been lost  
RcsServiceListener.ReasonCode  INTERNAL_ERROR  Internal error  
RcsServiceListener.ReasonCode  SERVICE_DISABLED  Service has been disabled  
Public Methods
final int toInt()
Gets integer value associated to ReasonCode instance
static RcsServiceListener.ReasonCode valueOf(String name)
static RcsServiceListener.ReasonCode valueOf(int value)
Returns a ReasonCode instance for the specified integer value.
final static ReasonCode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RcsServiceListener.ReasonCode CONNECTION_LOST

Since: API Level

Service connection has been lost

public static final RcsServiceListener.ReasonCode INTERNAL_ERROR

Since: API Level

Internal error

public static final RcsServiceListener.ReasonCode SERVICE_DISABLED

Since: API Level

Service has been disabled

Public Methods

public final int toInt ()

Since: API Level 1.5

Gets integer value associated to ReasonCode instance

Returns
  • value

public static RcsServiceListener.ReasonCode valueOf (String name)

Since: API Level 1.5

public static RcsServiceListener.ReasonCode valueOf (int value)

Since: API Level 1.5

Returns a ReasonCode instance for the specified integer value.

Parameters
value the value associated with the ReasonCode
Returns
  • instance

public static final ReasonCode[] values ()

Since: API Level 1.5