public static final class Telephony.Threads extends Object implements Telephony.ThreadsColumns
Modifier and Type | Field and Description |
---|---|
static int |
BROADCAST_THREAD |
static int |
COMMON_THREAD |
static Uri |
CONTENT_URI |
static Uri |
OBSOLETE_THREADS_URI |
DATE, ERROR, HAS_ATTACHMENT, MESSAGE_COUNT, READ, RECIPIENT_IDS, SNIPPET, SNIPPET_CHARSET, TYPE
_COUNT, _ID
Modifier and Type | Method and Description |
---|---|
static long |
getOrCreateThreadId(Context context,
Set<String> recipients)
Given the recipients list and subject of an unsaved message,
return its thread ID.
|
static long |
getOrCreateThreadId(Context context,
String recipient)
This is a single-recipient version of
getOrCreateThreadId.
|
public static final Uri CONTENT_URI
public static final Uri OBSOLETE_THREADS_URI
public static final int COMMON_THREAD
public static final int BROADCAST_THREAD
public static long getOrCreateThreadId(Context context, String recipient)
public static long getOrCreateThreadId(Context context, Set<String> recipients)