Presentations
class Presentations
| kotlin.Any | |
| ↳ | android.service.autofill.Presentations |
Holds presentations used to visualize autofill suggestions for each available UI type.
Summary
| Nested classes | |
|---|---|
|
A builder for |
|
| Public methods | |
|---|---|
| RemoteViews? |
The presentation used to visualize this field in the fill dialog UI. |
| InlinePresentation? |
The |
| InlinePresentation? |
The |
| RemoteViews? |
The presentation used to visualize this field in fill UI. |
Public methods
getDialogPresentation
fun getDialogPresentation(): RemoteViews?
The presentation used to visualize this field in the fill dialog UI.
Theme does not work with RemoteViews layout. Avoid hardcoded text color or background color: Autofill on different platforms may have different themes.
| Return | |
|---|---|
RemoteViews? |
This value may be null. |
getInlinePresentation
fun getInlinePresentation(): InlinePresentation?
The InlinePresentation used to visualize this dataset as inline suggestions. If the dataset supports inline suggestions, this should not be null.
getInlineTooltipPresentation
fun getInlineTooltipPresentation(): InlinePresentation?
The InlinePresentation used to show the tooltip for the mInlinePresentation. If the set this field, the mInlinePresentation should not be null.
getMenuPresentation
fun getMenuPresentation(): RemoteViews?
The presentation used to visualize this field in fill UI.
Theme does not work with RemoteViews layout. Avoid hardcoded text color or background color: Autofill on different platforms may have different themes.
| Return | |
|---|---|
RemoteViews? |
This value may be null. |