public static final enum

GroupChat.State

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.gsma.services.rcs.chat.GroupChat.State

Class Overview

Group chat state

Summary

Enum Values
GroupChat.State  ABORTED  Chat has been aborted  
GroupChat.State  ACCEPTING  Chat has been accepted and is in the process of becoming started. 
GroupChat.State  FAILED  Chat has failed  
GroupChat.State  INITIATING  Chat invitation sent  
GroupChat.State  INVITED  Chat invitation received  
GroupChat.State  REJECTED  Chat invitation was rejected. 
GroupChat.State  STARTED  Chat is started  
Public Methods
final int toInt()
Gets integer value associated to State instance
static GroupChat.State valueOf(String name)
static GroupChat.State valueOf(int value)
Returns a State instance for 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 GroupChat.State ABORTED

Since: API Level

Chat has been aborted

public static final GroupChat.State ACCEPTING

Since: API Level

Chat has been accepted and is in the process of becoming started.

public static final GroupChat.State FAILED

Since: API Level

Chat has failed

public static final GroupChat.State INITIATING

Since: API Level

Chat invitation sent

public static final GroupChat.State INVITED

Since: API Level

Chat invitation received

public static final GroupChat.State REJECTED

Since: API Level

Chat invitation was rejected.

public static final GroupChat.State STARTED

Since: API Level

Chat is started

Public Methods

public final int toInt ()

Since: API Level 1.5

Gets integer value associated to State instance

Returns
  • value

public static GroupChat.State valueOf (String name)

Since: API Level 1.5

public static GroupChat.State valueOf (int value)

Since: API Level 1.5

Returns a State instance for the specified integer value.

Parameters
value the value associated to the state
Returns
  • instance

public static final State[] values ()

Since: API Level 1.5