public static final class Telephony.Mms extends Object implements Telephony.BaseMmsColumns
Modifier and Type | Class and Description |
---|---|
static class |
Telephony.Mms.Addr
Contains address information for an MMS message.
|
static class |
Telephony.Mms.Draft
Contains all MMS messages in the MMS app drafts folder.
|
static class |
Telephony.Mms.Inbox
Contains all MMS messages in the MMS app inbox.
|
static class |
Telephony.Mms.Intents
Intents class.
|
static class |
Telephony.Mms.Outbox
Contains all MMS messages in the MMS app outbox.
|
static class |
Telephony.Mms.Part
Contains message parts.
|
static class |
Telephony.Mms.Rate
Message send rate table.
|
static class |
Telephony.Mms.Sent
Contains all MMS messages in the MMS app sent folder.
|
Modifier and Type | Field and Description |
---|---|
static Uri |
CONTENT_URI
The
content:// URI for this table. |
static String |
DEFAULT_SORT_ORDER
The default sort order for this table.
|
static Pattern |
NAME_ADDR_EMAIL_PATTERN
Regex pattern for names and email addresses.
|
static Uri |
REPORT_REQUEST_URI
Content URI for getting MMS report requests.
|
static Uri |
REPORT_STATUS_URI
Content URI for getting MMS report status.
|
ADAPTATION_ALLOWED, APPLIC_ID, AUX_APPLIC_ID, CANCEL_ID, CANCEL_STATUS, CONTENT_CLASS, CONTENT_LOCATION, CONTENT_TYPE, CREATOR, DATE, DATE_SENT, DELIVERY_REPORT, DELIVERY_TIME, DELIVERY_TIME_TOKEN, DISTRIBUTION_INDICATOR, DRM_CONTENT, ELEMENT_DESCRIPTOR, EXPIRY, LIMIT, LOCKED, MBOX_QUOTAS, MBOX_QUOTAS_TOKEN, MBOX_TOTALS, MBOX_TOTALS_TOKEN, MESSAGE_BOX, MESSAGE_BOX_ALL, MESSAGE_BOX_DRAFTS, MESSAGE_BOX_FAILED, MESSAGE_BOX_INBOX, MESSAGE_BOX_OUTBOX, MESSAGE_BOX_SENT, MESSAGE_CLASS, MESSAGE_COUNT, MESSAGE_ID, MESSAGE_SIZE, MESSAGE_TYPE, MM_FLAGS, MM_FLAGS_TOKEN, MM_STATE, MMS_VERSION, PREVIOUSLY_SENT_BY, PREVIOUSLY_SENT_DATE, PRIORITY, QUOTAS, READ, READ_REPORT, READ_STATUS, RECOMMENDED_RETRIEVAL_MODE, RECOMMENDED_RETRIEVAL_MODE_TEXT, REPLACE_ID, REPLY_APPLIC_ID, REPLY_CHARGING, REPLY_CHARGING_DEADLINE, REPLY_CHARGING_DEADLINE_TOKEN, REPLY_CHARGING_ID, REPLY_CHARGING_SIZE, REPORT_ALLOWED, RESPONSE_STATUS, RESPONSE_TEXT, RETRIEVE_STATUS, RETRIEVE_TEXT, RETRIEVE_TEXT_CHARSET, SEEN, SENDER_VISIBILITY, START, STATUS, STATUS_TEXT, STORE, STORE_STATUS, STORE_STATUS_TEXT, STORED, SUBJECT, SUBJECT_CHARSET, SUBSCRIPTION_ID, TEXT_ONLY, THREAD_ID, TOTALS, TRANSACTION_ID
_COUNT, _ID
Modifier and Type | Method and Description |
---|---|
static String |
extractAddrSpec(String address)
Helper method to extract email address from address string.
|
static boolean |
isEmailAddress(String address)
Is the specified address an email address?
|
static boolean |
isPhoneNumber(String number)
Is the specified number a phone number?
|
static Cursor |
query(ContentResolver cr,
String[] projection)
Helper method to query this table.
|
static Cursor |
query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
Helper method to query this table.
|
public static final Uri CONTENT_URI
content://
URI for this table.public static final Uri REPORT_REQUEST_URI
public static final Uri REPORT_STATUS_URI
public static final String DEFAULT_SORT_ORDER
public static final Pattern NAME_ADDR_EMAIL_PATTERN
name-addr
[display-name] angle-addr
[CFWS] "<" addr-spec ">" [CFWS]
public static Cursor query(ContentResolver cr, String[] projection)
public static Cursor query(ContentResolver cr, String[] projection, String where, String orderBy)
public static String extractAddrSpec(String address)
public static boolean isEmailAddress(String address)
address
- the input address to testpublic static boolean isPhoneNumber(String number)
number
- the input number to test