InlinePresentationSpec.Builder
public
static
final
class
InlinePresentationSpec.Builder
extends Object
| java.lang.Object | |
| ↳ | android.widget.inline.InlinePresentationSpec.Builder |
A builder for InlinePresentationSpec
Summary
Public constructors | |
|---|---|
InlinePresentationSpec.Builder(Size minSize, Size maxSize)
Creates a new Builder. |
|
Public methods | |
|---|---|
InlinePresentationSpec
|
build()
Builds the instance. |
InlinePresentationSpec.Builder
|
setStyle(Bundle value)
The extras encoding the UI style information. |
Inherited methods | |
|---|---|
Public constructors
InlinePresentationSpec.Builder
public InlinePresentationSpec.Builder (Size minSize, Size maxSize)
Creates a new Builder.
| Parameters | |
|---|---|
minSize |
Size: The minimal size of the suggestion.
This value must never be null. |
maxSize |
Size: The maximal size of the suggestion.
This value must never be null. |
Public methods
build
public InlinePresentationSpec build ()
Builds the instance. This builder should not be touched after calling this!
| Returns | |
|---|---|
InlinePresentationSpec |
This value will never be null. |
setStyle
public InlinePresentationSpec.Builder setStyle (Bundle value)
The extras encoding the UI style information. Defaults to null in which case the
default system UI style will be used.
| Parameters | |
|---|---|
value |
Bundle: This value must never be null. |
| Returns | |
|---|---|
InlinePresentationSpec.Builder |
|