Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/Telephony.Mms.Part#constants) \| [Inherited Constants](https://developer.android.com/reference/android/provider/Telephony.Mms.Part#inhconstants) \| [Fields](https://developer.android.com/reference/android/provider/Telephony.Mms.Part#lfields) \| [Methods](https://developer.android.com/reference/android/provider/Telephony.Mms.Part#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/provider/Telephony.Mms.Part#inhmethods)

# Telephony.Mms.Part

*** ** * ** ***

` public static final class Telephony.Mms.Part `   
` extends https://developer.android.com/reference/java/lang/Object ` ` implements https://developer.android.com/reference/android/provider/BaseColumns `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.Telephony.Mms.Part |

<br />

*** ** * ** ***

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 ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#CHARSET` The charset of the part. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#CONTENT_DISPOSITION` The content disposition of the part. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#CONTENT_ID` The content ID of the part. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#CONTENT_LOCATION` The content location of the part. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#CONTENT_TYPE` The content type of the part. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#CT_START` The start of content-type of the message. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#CT_TYPE` The type of content-type of the message. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#FILENAME` The file name of the part. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#MSG_ID` The identifier of the message which this part belongs to. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#NAME` The name of the part. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#SEQ` The order of the part. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#TEXT` The message text. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#_DATA` The location (on filesystem) of the binary data of the part. |

### Inherited constants

From interface `https://developer.android.com/reference/android/provider/BaseColumns` `https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/BaseColumns#_COUNT`

The count of rows in a directory.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/BaseColumns#_ID`

The unique ID for a row.

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/Telephony.Mms.Part#CONTENT_URI` The `content://` style URL for this table. |

| ### Public methods ||
|---|---|
| ` static https://developer.android.com/reference/android/net/Uri` | ` https://developer.android.com/reference/android/provider/Telephony.Mms.Part#getPartUriForMessage(java.lang.String)(https://developer.android.com/reference/java/lang/String messageId) ` Generates a Part `https://developer.android.com/reference/android/net/Uri` for message, used to perform Part table operation for mms. |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(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` ` https://developer.android.com/reference/java/lang/Object#wait(long)(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` ` https://developer.android.com/reference/java/lang/Object#wait()() `

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

## Constants

### CHARSET

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CHARSET
```

The charset of the part.

Type: TEXT

<br />

<br />

Constant Value: "chset"

### CONTENT_DISPOSITION

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CONTENT_DISPOSITION
```

The content disposition of the part.

Type: TEXT

<br />

<br />

Constant Value: "cd"

### CONTENT_ID

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CONTENT_ID
```

The content ID of the part.

Type: INTEGER

<br />

<br />

Constant Value: "cid"

### CONTENT_LOCATION

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CONTENT_LOCATION
```

The content location of the part.

Type: INTEGER

<br />

<br />

Constant Value: "cl"

### CONTENT_TYPE

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CONTENT_TYPE
```

The content type of the part.

Type: TEXT

<br />

<br />

Constant Value: "ct"

### CT_START

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CT_START
```

The start of content-type of the message.

Type: INTEGER

<br />

<br />

Constant Value: "ctt_s"

### CT_TYPE

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CT_TYPE
```

The type of content-type of the message.

Type: TEXT

<br />

<br />

Constant Value: "ctt_t"

### FILENAME

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String FILENAME
```

The file name of the part.

Type: TEXT

<br />

<br />

Constant Value: "fn"

### MSG_ID

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String MSG_ID
```

The identifier of the message which this part belongs to.

Type: INTEGER

<br />

<br />

Constant Value: "mid"

### NAME

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String NAME
```

The name of the part.

Type: TEXT

<br />

<br />

Constant Value: "name"

### SEQ

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SEQ
```

The order of the part.

Type: INTEGER

<br />

<br />

Constant Value: "seq"

### TEXT

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String TEXT
```

The message text.

Type: TEXT

<br />

<br />

Constant Value: "text"

### _DATA

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String _DATA
```

The location (on filesystem) of the binary data of the part.

Type: INTEGER

<br />

<br />

Constant Value: "_data"

## Fields

### CONTENT_URI

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Uri CONTENT_URI
```

The `content://` style URL for this table. Can be appended with a part ID to address individual parts.

<br />

## Public methods

### getPartUriForMessage

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static Uri getPartUriForMessage (String messageId)
```

Generates a Part `https://developer.android.com/reference/android/net/Uri` for message, used to perform Part table operation for mms.

<br />

| Parameters ||
|---|---|
| `messageId` | `String`: the messageId used to generate Part `https://developer.android.com/reference/android/net/Uri` dynamically. This value cannot be `null`. <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/net/Uri` | the partUri used to perform Part table operation for mms. This value cannot be `null`. <br /> |