public class

OneToOneChatIntent

extends Object
java.lang.Object
   ↳ com.gsma.services.rcs.chat.OneToOneChatIntent

Class Overview

Intent for one-to-one chat conversation

Summary

Constants
String ACTION_MESSAGE_DELIVERY_EXPIRED Broadcast action: message delivery expired.
String ACTION_NEW_ONE_TO_ONE_CHAT_MESSAGE Broadcast action: a new chat message has been received.
String EXTRA_CONTACT ContactId of remote contact
String EXTRA_MESSAGE_ID Message ID of received message
String EXTRA_MIME_TYPE MIME-type of received message
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ACTION_MESSAGE_DELIVERY_EXPIRED

Since: API Level 1.5

Broadcast action: message delivery expired.

Intent includes the following extras:

  • EXTRA_CONTACT containing the contact ID of remote contact.
  • EXTRA_MESSAGE_ID containing the message ID of the chat message that triggered the timeout.

Constant Value: "com.gsma.services.rcs.chat.action.MESSAGE_DELIVERY_EXPIRED"

public static final String ACTION_NEW_ONE_TO_ONE_CHAT_MESSAGE

Since: API Level 1.5

Broadcast action: a new chat message has been received.

Intent includes the following extras:

Constant Value: "com.gsma.services.rcs.chat.action.NEW_ONE_TO_ONE_CHAT_MESSAGE"

public static final String EXTRA_CONTACT

Since: API Level 1.5

ContactId of remote contact

Constant Value: "contact"

public static final String EXTRA_MESSAGE_ID

Since: API Level 1.5

Message ID of received message

Constant Value: "messageId"

public static final String EXTRA_MIME_TYPE

Since: API Level 1.5

MIME-type of received message

Constant Value: "mimeType"