Summary: Ctors | Methods | Inherited Methods
public
static
final
class
TextLanguage.Request.Builder
extends Object
A builder for building TextLanguage requests.
Summary
Public constructors | |
|---|---|
Builder(CharSequence text)
Creates a builder to build TextLanguage requests. |
|
Public methods | |
|---|---|
TextLanguage.Request
|
build()
Builds and returns a new TextLanguage request object. |
TextLanguage.Request.Builder
|
setExtras(Bundle bundle)
Sets a bundle containing non-structured extra information about the request. |
Inherited methods | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From class
| |||||||||||||||||||||||
Public constructors
Builder
public Builder (CharSequence text)
Creates a builder to build TextLanguage requests.
| Parameters | |
|---|---|
text |
CharSequence: the text to process.
This value cannot be null. |
Public methods
build
public TextLanguage.Request build ()
Builds and returns a new TextLanguage request object.
If necessary, this method will verify fields, clamp them, and make them immutable.
| Returns | |
|---|---|
TextLanguage.Request |
This value cannot be null. |