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

String _COUNT

The count of rows in a directory.

String _ID

The unique ID for a row.

Public methods

static Uri getAddrUriForMessage(String messageId)

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

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

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.