The chat is not ready to send or receive messages because it is waiting on an
unspecified "slow" activity, such as peer-to-peer identity key
exchanges. Content added via 'chatMessageSend' will be queued to be sent
and will still be added to the 'chatMessage' list and reported via 'listAdd'.
Note that no 'listAdd' event occurs for a 'chatMessage' restored or received
while a chat is in this state because such activity cannot happen while the chat
The chat is currently restoring its message history. Content added via
'chatMessageSend' will be queued to be sent and will still be added to the
'chatMessage' list and reported via 'listAdd'. Note that no 'listAdd' event
occurs for a 'chatMessage' restored or received while a chat is in this state.
When the chat 'state' becomes 'Ready', your application must ask bbmcore for any
The BlackBerry Infrastructure has notified bbmcore that this chat is no longer
available. This state exists so the user knows why their previously functional
chat is no longer functional, and gives the user a chance to consume the content
of the chat until they remove it. bbmcore will not send or receive any further
messages for a chat in this state. bbmcore does not automatically remove
defunct chats. Your application can remove it explicitly with 'chatLeave' (and
in some cases, with 'chatHide').
Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Chat.State c : Chat.State.values())
an array containing the constants of this enum type, in the order they are declared
public static Chat.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
name - the name of the enum constant to be returned.
the enum constant with the specified name
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null
public static Chat.State parse(java.lang.String value)