ChineseTextRecognizerOptions.Builder

public static class ChineseTextRecognizerOptions.Builder extends Object

Builder for the ChineseTextRecognizerOptions class.

Public Constructor Summary

Public Method Summary

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

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public ChineseTextRecognizerOptions build ()

Creates a new ChineseTextRecognizerOptions instance.

public ChineseTextRecognizerOptions.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