public static class

ChatLog.Message

extends Object
java.lang.Object
   ↳ com.gsma.services.rcs.chat.ChatLog.Message

Class Overview

Chat message from a single chat or group chat

Summary

Nested Classes
class ChatLog.Message.Content  
class ChatLog.Message.GroupChatEvent  
class ChatLog.Message.MimeType Message MIME-types  
Constants
String BASECOLUMN_ID The name of the column containing the unique id across provider tables.
String CHAT_ID The name of the column containing the chat ID.
String CONTACT The name of the column containing the MSISDN of the remote contact.
String CONTENT The name of the column containing the message content.
String DIRECTION The name of the column containing the message direction.
String EXPIRED_DELIVERY If delivery has expired for this message.
int HISTORYLOG_MEMBER_ID History log member id
String MESSAGE_ID The name of the column containing the message ID.
String MIME_TYPE The name of the column containing the MIME-TYPE of the message body.
String READ_STATUS The name of the column containing the message read status.
String REASON_CODE The name of the column containing the message status reason code.
String STATUS The name of the column containing the message status.
String TIMESTAMP The name of the column containing the time when message is created.
String TIMESTAMP_DELIVERED The name of the column containing the time when message is delivered.
String TIMESTAMP_DISPLAYED The name of the column containing the time when message is displayed.
String TIMESTAMP_SENT The name of the column containing the time when message is sent.
Fields
public static final Uri CONTENT_URI Content provider URI for chat messages
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String BASECOLUMN_ID

Since: API Level 1.5

The name of the column containing the unique id across provider tables.

Type: INTEGER

Constant Value: "_id"

public static final String CHAT_ID

Since: API Level 1.5

The name of the column containing the chat ID.

Type: TEXT

Constant Value: "chat_id"

public static final String CONTACT

Since: API Level 1.5

The name of the column containing the MSISDN of the remote contact.

Type: TEXT

Constant Value: "contact"

public static final String CONTENT

Since: API Level 1.5

The name of the column containing the message content.

Type: TEXT

Constant Value: "content"

public static final String DIRECTION

Since: API Level 1.5

The name of the column containing the message direction.

Type: INTEGER

Constant Value: "direction"

public static final String EXPIRED_DELIVERY

Since: API Level 1.5

If delivery has expired for this message. Values: 1 (true), 0 (false)

Type: INTEGER

Constant Value: "expired_delivery"

public static final int HISTORYLOG_MEMBER_ID

Since: API Level 1.5

History log member id

Constant Value: 1 (0x00000001)

public static final String MESSAGE_ID

Since: API Level 1.5

The name of the column containing the message ID.

Type: TEXT

Constant Value: "msg_id"

public static final String MIME_TYPE

Since: API Level 1.5

The name of the column containing the MIME-TYPE of the message body.

Type: TEXT

Constant Value: "mime_type"

public static final String READ_STATUS

Since: API Level 1.5

The name of the column containing the message read status.

Type: INTEGER

Constant Value: "read_status"

public static final String REASON_CODE

Since: API Level 1.5

The name of the column containing the message status reason code.

Type: INTEGER

Constant Value: "reason_code"

public static final String STATUS

Since: API Level 1.5

The name of the column containing the message status.

Type: INTEGER

Constant Value: "status"

public static final String TIMESTAMP

Since: API Level 1.5

The name of the column containing the time when message is created.

Type: INTEGER

Constant Value: "timestamp"

public static final String TIMESTAMP_DELIVERED

Since: API Level 1.5

The name of the column containing the time when message is delivered. If 0 means not delivered.

Type: INTEGER

Constant Value: "timestamp_delivered"

public static final String TIMESTAMP_DISPLAYED

Since: API Level 1.5

The name of the column containing the time when message is displayed. If 0 means not displayed.

Type: INTEGER

Constant Value: "timestamp_displayed"

public static final String TIMESTAMP_SENT

Since: API Level 1.5

The name of the column containing the time when message is sent. If 0 means not sent.

Type: INTEGER

Constant Value: "timestamp_sent"

Fields

public static final Uri CONTENT_URI

Since: API Level 1.5

Content provider URI for chat messages