Build 1.0_r1(from source)

android.provider
Class Im.Messages

java.lang.Object
  extended by android.provider.Im.Messages
All Implemented Interfaces:
BaseColumns, Im.BaseMessageColumns, Im.MessagesColumns
Enclosing class:
Im

public static final class Im.Messages
extends Object
implements BaseColumns, Im.MessagesColumns

This table contains messages.


Field Summary
static String CONTENT_ITEM_TYPE
          The MIME type of a CONTENT_URI subdirectory of a single person.
static String CONTENT_TYPE
          The MIME type of CONTENT_URI providing a directory of people.
static Uri CONTENT_URI
          The content:// style URL for this table
static Uri CONTENT_URI_MESSAGES_BY
          The content:// style URL for messages by provider and account
static String DEFAULT_SORT_ORDER
          The default sort order for this table
 
Fields inherited from interface android.provider.BaseColumns
_COUNT, _ID
 
Fields inherited from interface android.provider.Im.MessagesColumns
ACCOUNT, PROVIDER
 
Fields inherited from interface android.provider.Im.BaseMessageColumns
BODY, CONTACT, DATE, ERROR_CODE, ERROR_MESSAGE, PACKET_ID, TYPE
 
Method Summary
static Uri getContentUriByContact(long providerId, long accountId, String username)
          Gets the Uri to query messages by contact.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_URI

public static final Uri CONTENT_URI
The content:// style URL for this table


CONTENT_URI_MESSAGES_BY

public static final Uri CONTENT_URI_MESSAGES_BY
The content:// style URL for messages by provider and account


CONTENT_TYPE

public static final String CONTENT_TYPE
The MIME type of CONTENT_URI providing a directory of people.

See Also:
Constant Field Values

CONTENT_ITEM_TYPE

public static final String CONTENT_ITEM_TYPE
The MIME type of a CONTENT_URI subdirectory of a single person.

See Also:
Constant Field Values

DEFAULT_SORT_ORDER

public static final String DEFAULT_SORT_ORDER
The default sort order for this table

See Also:
Constant Field Values
Method Detail

getContentUriByContact

public static final Uri getContentUriByContact(long providerId,
                                               long accountId,
                                               String username)
Gets the Uri to query messages by contact.

Parameters:
providerId - the provider id of the contact.
accountId - the account id of the contact.
username - the user name of the contact.
Returns:
the Uri

Build 1.0_r1(from source)

Please submit a feedback, bug or feature