java.lang.Object | |
↳ | android.provider.Telephony.Threads |
Helper functions for the "threads" table used by MMS and SMS.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | BROADCAST_THREAD | Thread type: broadcast thread. | |||||||||
int | COMMON_THREAD | Thread type: common thread. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.provider.Telephony.ThreadsColumns
| |||||||||||
From interface
android.provider.BaseColumns
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CONTENT_URI |
The content:// style URL for this table, by conversation.
|
||||||||||
OBSOLETE_THREADS_URI |
The content:// style URL for this table, for obsolete threads.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This is a single-recipient version of
getOrCreateThreadId .
| |||||||||||
Given the recipients list and subject of an unsaved message,
return its thread ID.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Thread type: broadcast thread.
Thread type: common thread.
The content://
style URL for this table, by conversation.
The content://
style URL for this table, for obsolete threads.
This is a single-recipient version of getOrCreateThreadId
.
It's convenient for use with SMS messages.
context | the context object to use. |
---|---|
recipient | the recipient to send to. |
Given the recipients list and subject of an unsaved message, return its thread ID. If the message starts a new thread, allocate a new thread ID. Otherwise, use the appropriate existing thread ID.
Find the thread ID of the same set of recipients (in any order, without any additions). If one is found, return it. Otherwise, return a unique thread ID.