Builder
class Builder
| kotlin.Any | |
| ↳ | android.service.autofill.Presentations.Builder | 
A builder for Presentations
Summary
| Public constructors | |
|---|---|
| Builder() | |
| Public methods | |
|---|---|
| Presentations | build()Builds the instance. | 
| Presentations.Builder | setDialogPresentation(value: RemoteViews)The presentation used to visualize this field in the fill dialog UI. | 
| Presentations.Builder | The  | 
| Presentations.Builder | The  | 
| Presentations.Builder | setMenuPresentation(value: RemoteViews)The presentation used to visualize this field in fill UI. | 
Public constructors
Public methods
build
fun build(): Presentations
Builds the instance. This builder should not be touched after calling this!
| Return | |
|---|---|
| Presentations | This value cannot be null. | 
setDialogPresentation
fun setDialogPresentation(value: RemoteViews): Presentations.Builder
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.
| Parameters | |
|---|---|
| value | RemoteViews: This value cannot be null. | 
| Return | |
|---|---|
| Presentations.Builder | This value cannot be null. | 
setInlinePresentation
fun setInlinePresentation(value: InlinePresentation): Presentations.Builder
The InlinePresentation used to visualize this dataset as inline suggestions. If the dataset supports inline suggestions, this should not be null.
| Parameters | |
|---|---|
| value | InlinePresentation: This value cannot be null. | 
setInlineTooltipPresentation
fun setInlineTooltipPresentation(value: InlinePresentation): Presentations.Builder
The InlinePresentation used to show the tooltip for the mInlinePresentation. If the set this field, the mInlinePresentation should not be null.
| Parameters | |
|---|---|
| value | InlinePresentation: This value cannot be null. | 
setMenuPresentation
fun setMenuPresentation(value: RemoteViews): Presentations.Builder
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.
| Parameters | |
|---|---|
| value | RemoteViews: This value cannot be null. | 
| Return | |
|---|---|
| Presentations.Builder | This value cannot be null. | 
