# InlineSuggestionUi.Content

Artifact: [androidx.autofill:autofill](https://developer.android.com/jetpack/androidx/releases/autofill) [View Source](https://cs.android.com/search?q=file:androidx/autofill/inline/v1/InlineSuggestionUi.java+class:androidx.autofill.inline.v1.InlineSuggestionUi.Content) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

*** ** * ** ***


```
public final class InlineSuggestionUi.Content implements UiVersions.Content
```

<br />

*** ** * ** ***

Content for the V1 inline suggestion UI.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content.Builder` Builder for the `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content`. |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/app/PendingIntent.html` | `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content#getAttributionIntent()()` |
| `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content#getContentDescription()()` |
| `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/drawable/Icon.html` | `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content#getEndIcon()()` |
| `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/drawable/Icon.html` | `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content#getStartIcon()()` |
| `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content#getSubtitle()()` |
| `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content#getTitle()()` |

## Public methods

### getAttributionIntent

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

```
public @Nullable PendingIntent getAttributionIntent()
```

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi#newContentBuilder(android.app.PendingIntent)` |   |

### getContentDescription

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

```
public @Nullable CharSequence getContentDescription()
```

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content.Builder#setContentDescription(java.lang.CharSequence)` |   |

### getEndIcon

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

```
public @Nullable Icon getEndIcon()
```

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content.Builder#setEndIcon(android.graphics.drawable.Icon)` |   |

### getStartIcon

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

```
public @Nullable Icon getStartIcon()
```

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content.Builder#setStartIcon(android.graphics.drawable.Icon)` |   |

### getSubtitle

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

```
public @Nullable CharSequence getSubtitle()
```

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content.Builder#setSubtitle(java.lang.CharSequence)` |   |

### getTitle

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

```
public @Nullable CharSequence getTitle()
```

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/autofill/inline/v1/InlineSuggestionUi.Content.Builder#setTitle(java.lang.CharSequence)` |   |