Added in API level 19

Addr


class Addr : BaseColumns
kotlin.Any
   ↳ android.provider.Telephony.Mms.Addr

Contains address information for an MMS message.

Summary

Constants
static String

The address text.

static String

Character set of this entry (MMS charset value).

static String

The ID of contact entry in Phone Book.

static String

The ID of MM which this address entry belongs to.

static String

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

Inherited constants
Public methods
static Uri

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

Constants

ADDRESS

Added in API level 19
static val ADDRESS: String

The address text.

Type: TEXT

Value: "address"

CHARSET

Added in API level 19
static val CHARSET: String

Character set of this entry (MMS charset value).

Type: INTEGER

Value: "charset"

CONTACT_ID

Added in API level 19
static val CONTACT_ID: String

The ID of contact entry in Phone Book.

Type: INTEGER (long)

Value: "contact_id"

MSG_ID

Added in API level 19
static val MSG_ID: String

The ID of MM which this address entry belongs to.

Type: INTEGER (long)

Value: "msg_id"

TYPE

Added in API level 19
static val TYPE: String

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

Type: INTEGER

Value: "type"

Public methods

getAddrUriForMessage

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

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.
Return
Uri the addrUri used to perform Addr table operation for mms This value cannot be null.