# Print output for @column tags ?>
public
static
final
class
InlinePresentationSpec.Builder
extends Object
| java.lang.Object | |
| ↳ | android.widget.inline.InlinePresentationSpec.Builder |
A builder for InlinePresentationSpec
Public constructors | |
|---|---|
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 Builder (Size minSize, Size maxSize)
Creates a new Builder.
| Parameters | |
|---|---|
minSize |
Size: The minimal size of the suggestion.
This value cannot be null. |
maxSize |
Size: The maximal size of the suggestion.
This value cannot be null. |
public InlinePresentationSpec build ()
Builds the instance. This builder should not be touched after calling this!
| Returns | |
|---|---|
InlinePresentationSpec |
This value cannot be null. |
public InlinePresentationSpec.Builder setStyle (Bundle value)
The extras encoding the UI style information. Defaults to Bundle.Empty in which case
the default system UI style will be used.
Note: There should be no remote objects in the bundle, all included remote objects will be removed from the bundle before transmission.
| Parameters | |
|---|---|
value |
Bundle: This value cannot be null. |
| Returns | |
|---|---|
InlinePresentationSpec.Builder |
This value cannot be null. |