Summary:
Methods
| Inherited Methods
UiVersions.StylesBuilder
public
static
final
class
UiVersions.StylesBuilder
extends Object
java.lang.Object | |
↳ | androidx.autofill.inline.UiVersions.StylesBuilder |
A builder responsible for providing a Bundle
with encoded UI style
specifications for one or more versions of UI templates.
Summary
Public methods | |
---|---|
UiVersions.StylesBuilder
|
addStyle(UiVersions.Style style)
Adds a UI style. |
Bundle
|
build()
Returns the styles for one or more UI versions represented as a |
Inherited methods | |
---|---|
Public methods
addStyle
public UiVersions.StylesBuilder addStyle (UiVersions.Style style)
Adds a UI style.
Parameters | |
---|---|
style |
UiVersions.Style : the style being added |
Returns | |
---|---|
UiVersions.StylesBuilder |
Throws | |
---|---|
IllegalArgumentException |
if the style version is not supported by the library |