Telephony.Mms.Part
public
static
final
class
Telephony.Mms.Part
extends Object
implements
BaseColumns
java.lang.Object | |
↳ | android.provider.Telephony.Mms.Part |
Contains message parts. To avoid issues where applications might cache a part ID, the ID of a deleted part must not be reused to point at a new part.
Summary
Constants | |
---|---|
String |
CHARSET
The charset of the part. |
String |
CONTENT_DISPOSITION
The content disposition of the part. |
String |
CONTENT_ID
The content ID of the part. |
String |
CONTENT_LOCATION
The content location of the part. |
String |
CONTENT_TYPE
The content type of the part. |
String |
CT_START
The start of content-type of the message. |
String |
CT_TYPE
The type of content-type of the message. |
String |
FILENAME
The file name of the part. |
String |
MSG_ID
The identifier of the message which this part belongs to. |
String |
NAME
The name of the part. |
String |
SEQ
The order of the part. |
String |
TEXT
The message text. |
String |
_DATA
The location (on filesystem) of the binary data of the part. |
Inherited constants |
---|
Fields | |
---|---|
public
static
final
Uri |
CONTENT_URI
The |
Public methods | |
---|---|
static
Uri
|
getPartUriForMessage(String messageId)
Generates a Part |
Inherited methods | |
---|---|
Constants
CHARSET
public static final String CHARSET
The charset of the part.
Type: TEXT
Constant Value: "chset"
CONTENT_DISPOSITION
public static final String CONTENT_DISPOSITION
The content disposition of the part.
Type: TEXT
Constant Value: "cd"
CONTENT_ID
public static final String CONTENT_ID
The content ID of the part.
Type: INTEGER
Constant Value: "cid"
CONTENT_LOCATION
public static final String CONTENT_LOCATION
The content location of the part.
Type: INTEGER
Constant Value: "cl"
CONTENT_TYPE
public static final String CONTENT_TYPE
The content type of the part.
Type: TEXT
Constant Value: "ct"
CT_START
public static final String CT_START
The start of content-type of the message.
Type: INTEGER
Constant Value: "ctt_s"
CT_TYPE
public static final String CT_TYPE
The type of content-type of the message.
Type: TEXT
Constant Value: "ctt_t"
FILENAME
public static final String FILENAME
The file name of the part.
Type: TEXT
Constant Value: "fn"
MSG_ID
public static final String MSG_ID
The identifier of the message which this part belongs to.
Type: INTEGER
Constant Value: "mid"
NAME
public static final String NAME
The name of the part.
Type: TEXT
Constant Value: "name"
SEQ
public static final String SEQ
The order of the part.
Type: INTEGER
Constant Value: "seq"
TEXT
public static final String TEXT
The message text.
Type: TEXT
Constant Value: "text"
_DATA
public static final String _DATA
The location (on filesystem) of the binary data of the part.
Type: INTEGER
Constant Value: "_data"
Fields
CONTENT_URI
public static final Uri CONTENT_URI
The content://
style URL for this table. Can be appended with a part ID to
address individual parts.
Public methods
getPartUriForMessage
public static Uri getPartUriForMessage (String messageId)
Generates a Part Uri
for message, used to perform Part table operation
for mms.
Parameters | |
---|---|
messageId |
String : the messageId used to generate Part Uri dynamically
This value cannot be null . |
Returns | |
---|---|
Uri |
the partUri used to perform Part table operation for mms
This value cannot be null . |