public class

FileTransferLog

extends Object
java.lang.Object
   ↳ com.gsma.services.rcs.filetransfer.FileTransferLog

Class Overview

Content provider for file transfer history

Summary

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 used for the file transfer in group chat.
String CONTACT The name of the column containing the identity of the remote contact.
String DIRECTION The name of the column containing the direction of the transfer.
String DISPOSITION The name of the column containing the file disposition.
String EXPIRED_DELIVERY If delivery has expired for this file.
String FILE The name of the column containing the URI of the file.
String FILEICON The name of the column containing the file icon (absolute path).
String FILEICON_EXPIRATION The name of the column containing the timestamp when the file icon on the content server is no longer valid to download.
String FILEICON_MIME_TYPE The name of the column containing the MIME-type of the file icon.
String FILENAME The name of the column containing the filename (absolute path).
String FILESIZE The name of the column containing the file size to be transferred (in bytes).
String FILE_EXPIRATION The name of the column containing the timestamp when the file on the content server is no longer valid to download.
String FT_ID The name of the column containing the unique ID of the file transfer.
int HISTORYLOG_MEMBER_ID History log member id
String MIME_TYPE The name of the column containing the MIME-type of the file.
String READ_STATUS The name of the column containing the read status for the transfer.
String REASON_CODE The name of the column containing the reason code of the state.
String STATE The name of the column containing the state of the transfer.
String TIMESTAMP The name of the column containing the time when transfer is initiated.
String TIMESTAMP_DELIVERED The name of the column containing the time when file is delivered.
String TIMESTAMP_DISPLAYED The name of the column containing the time when file is displayed.
String TIMESTAMP_SENT The name of the column containing the time when file is sent.
String TRANSFERRED The name of the column containing the amount of data transferred (in bytes).
long UNKNOWN_EXPIRATION The value assigned if file or icon expiration is unknown
Fields
public static final Uri CONTENT_URI Content provider URI
[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 used for the file transfer in group chat.

Type: TEXT

Constant Value: "chat_id"

public static final String CONTACT

Since: API Level 1.5

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

Type: TEXT

Constant Value: "contact"

public static final String DIRECTION

Since: API Level 1.5

The name of the column containing the direction of the transfer.

Type: INTEGER

Constant Value: "direction"

public static final String DISPOSITION

Since: API Level 1.6

The name of the column containing the file disposition.

Type: INTEGER

Constant Value: "disposition"

public static final String EXPIRED_DELIVERY

Since: API Level 1.5

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

Type: INTEGER

Constant Value: "expired_delivery"

public static final String FILE

Since: API Level 1.5

The name of the column containing the URI of the file.

Type: TEXT

Constant Value: "file"

public static final String FILEICON

Since: API Level 1.5

The name of the column containing the file icon (absolute path).

Type: TEXT

Constant Value: "fileicon"

public static final String FILEICON_EXPIRATION

Since: API Level 1.5

The name of the column containing the timestamp when the file icon on the content server is no longer valid to download.

Type: INTEGER

Constant Value: "fileicon_expiration"

public static final String FILEICON_MIME_TYPE

Since: API Level 1.5

The name of the column containing the MIME-type of the file icon.

Type: TEXT

Constant Value: "fileicon_mime_type"

public static final String FILENAME

Since: API Level 1.5

The name of the column containing the filename (absolute path).

Type: TEXT

Constant Value: "filename"

public static final String FILESIZE

Since: API Level 1.5

The name of the column containing the file size to be transferred (in bytes).

Type: INTEGER

Constant Value: "filesize"

public static final String FILE_EXPIRATION

Since: API Level 1.5

The name of the column containing the timestamp when the file on the content server is no longer valid to download.

Type: INTEGER

Constant Value: "file_expiration"

public static final String FT_ID

Since: API Level 1.5

The name of the column containing the unique ID of the file transfer.

Type: TEXT

Constant Value: "ft_id"

public static final int HISTORYLOG_MEMBER_ID

Since: API Level 1.5

History log member id

Constant Value: 2 (0x00000002)

public static final String MIME_TYPE

Since: API Level 1.5

The name of the column containing the MIME-type of the file.

Type: TEXT

Constant Value: "mime_type"

public static final String READ_STATUS

Since: API Level 1.5

The name of the column containing the read status for the transfer.

Type: INTEGER

FileTransfer.ReadStatus

Constant Value: "read_status"

public static final String REASON_CODE

Since: API Level 1.5

The name of the column containing the reason code of the state.

Type: INTEGER

com.gsma.services.rcs.RcsCommon.ReasonCode

Constant Value: "reason_code"

public static final String STATE

Since: API Level 1.5

The name of the column containing the state of the transfer.

Type: INTEGER

Constant Value: "state"

public static final String TIMESTAMP

Since: API Level 1.5

The name of the column containing the time when transfer is initiated.

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 file 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 file 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 file is sent. If 0 means not sent.

Type: INTEGER

Constant Value: "timestamp_sent"

public static final String TRANSFERRED

Since: API Level 1.5

The name of the column containing the amount of data transferred (in bytes).

Type: INTEGER

Constant Value: "transferred"

public static final long UNKNOWN_EXPIRATION

Since: API Level 1.5

The value assigned if file or icon expiration is unknown

Constant Value: 0 (0x0000000000000000)

Fields

public static final Uri CONTENT_URI

Since: API Level 1.5

Content provider URI