TextRecognizerOptions.Builder

public static class TextRecognizerOptions.Builder extends Object

Builder for TextRecognizerOptions instances.

Public Constructor Summary

Public Method Summary

TextRecognizerOptions
build()
Creates a new TextRecognizerOptions instance.
TextRecognizerOptions.Builder
setExecutor(Executor executor)
Sets the custom Executor to use.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public TextRecognizerOptions build ()

Creates a new TextRecognizerOptions instance.

public TextRecognizerOptions.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 should not need to call this method.

Parameters
executor the Executor to use
Returns
  • this object, for chaining method calls