DigitalInkRecognizerOptions.Builder

public static abstract class DigitalInkRecognizerOptions.Builder extends Object

Builder for the DigitalInkRecognizerOptions class.

Public Constructor Summary

Public Method Summary

abstract DigitalInkRecognizerOptions
build()
Returns the constructed DigitalInkRecognizerOptions object.
abstract DigitalInkRecognizerOptions.Builder
setExecutor(Executor executor)
Sets the custom Executor to use.
abstract DigitalInkRecognizerOptions.Builder
setMaxResultCount(int resultCount)
Sets the maximum number of results that the recognizer will return.

Inherited Method Summary

Public Constructors

public DigitalInkRecognizerOptions.Builder ()

Public Methods

public abstract DigitalInkRecognizerOptions build ()

Returns the constructed DigitalInkRecognizerOptions object.

public abstract DigitalInkRecognizerOptions.Builder setExecutor (Executor executor)

Sets the custom Executor to use. If no Executor is set, an internal background thread pool will be used.

Most clients do not need to call this method.

public abstract DigitalInkRecognizerOptions.Builder setMaxResultCount (int resultCount)

Sets the maximum number of results that the recognizer will return.

The recognizer will return at most this number of results. Default value is 10. Minimum value is 1.