# UiVersions.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/UiVersions.java+class:androidx.autofill.inline.UiVersions.Content) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

*** ** * ** ***


```
interface UiVersions.Content
```

<br />

Known direct subclasses [InlineSuggestionUi.Content](https://developer.android.com/reference/kotlin/androidx/autofill/inline/v1/InlineSuggestionUi.Content)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/autofill/inline/v1/InlineSuggestionUi.Content` | Content for the V1 inline suggestion UI. |

*** ** * ** ***

Represents the UI content that can be converted into a `https://developer.android.com/reference/android/app/slice/Slice.html` to be read to render a UI in a remote process.

## Summary

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/android/app/slice/Slice.html` | `https://developer.android.com/reference/kotlin/androidx/autofill/inline/UiVersions.Content#getSlice()()` Returns the content represented as a `https://developer.android.com/reference/android/app/slice/Slice.html` so it can be transported through IPC. |

## Public functions

### getSlice

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

```
fun getSlice(): Slice
```

Returns the content represented as a `https://developer.android.com/reference/android/app/slice/Slice.html` so it can be transported through IPC.