Telephony.Mms.Addr


public static final class Telephony.Mms.Addr
extends Object implements BaseColumns

java.lang.Object
   ↳ android.provider.Telephony.Mms.Addr


Contains address information for an MMS message.

Summary

Constants

String ADDRESS

The address text.

String CHARSET

Character set of this entry (MMS charset value).

String CONTACT_ID

The ID of contact entry in Phone Book.

String MSG_ID

The ID of MM which this address entry belongs to.

String TYPE

Type of address: must be one of PduHeaders.BCC, PduHeaders.CC, PduHeaders.FROM, PduHeaders.TO.

Inherited constants

Public methods

static Uri getAddrUriForMessage(String messageId)

Generates a Addr Uri for message, used to perform Addr table operation for mms.

Inherited methods

Constants

ADDRESS

Added in API level 19
public static final String ADDRESS

The address text.

Type: TEXT

Constant Value: "address"

CHARSET

Added in API level 19
public static final String CHARSET

Character set of this entry (MMS charset value).

Type: INTEGER

Constant Value: "charset"

CONTACT_ID

Added in API level 19
public static final String CONTACT_ID

The ID of contact entry in Phone Book.

Type: INTEGER (long)

Constant Value: "contact_id"

MSG_ID

Added in API level 19
public static final String MSG_ID

The ID of MM which this address entry belongs to.

Type: INTEGER (long)

Constant Value: "msg_id"

TYPE

Added in API level 19
public static final String TYPE

Type of address: must be one of PduHeaders.BCC, PduHeaders.CC, PduHeaders.FROM, PduHeaders.TO.

Type: INTEGER

Constant Value: "type"

Public methods

getAddrUriForMessage

Added in API level 30
public static Uri getAddrUriForMessage (String messageId)

Generates a Addr Uri for message, used to perform Addr table operation for mms.

Parameters
messageId String: the messageId used to generate Addr Uri dynamically This value cannot be null.

Returns
Uri the addrUri used to perform Addr table operation for mms This value cannot be null.