DevanagariTextRecognizerOptions.Builder

  • DevanagariTextRecognizerOptions.Builder is a class used to build instances of DevanagariTextRecognizerOptions.

  • It has a public constructor Builder() and public methods like build() to create the options instance and setExecutor() to specify a custom executor.

  • The setExecutor() method allows setting a custom Executor for processing, though most clients may not need to use it as an internal thread pool is used by default.

public static class DevanagariTextRecognizerOptions.Builder extends Object

Builder for the DevanagariTextRecognizerOptions class.

Public Constructor Summary

Public Method Summary

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

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

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