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 |
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| static Uri |
getAddrUriForMessage(messageId: String)Generates a Addr |
Constants
ADDRESS
static val ADDRESS: String
The address text.
Type: TEXT
Value: "address"CHARSET
static val CHARSET: String
Character set of this entry (MMS charset value).
Type: INTEGER
Value: "charset"CONTACT_ID
static val CONTACT_ID: String
The ID of contact entry in Phone Book.
Type: INTEGER (long)
Value: "contact_id"MSG_ID
static val MSG_ID: String
The ID of MM which this address entry belongs to.
Type: INTEGER (long)
Value: "msg_id"TYPE
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
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. |