SpeechRecognizerOptions.Builder

class SpeechRecognizerOptions.Builder


Builder class for SpeechRecognizerOptions.

Summary

Public constructors

Public properties

Executor?

The Executor to use, if not set, an internal background thread pool will be used.

Locale

The locale to use for speech recognition.

Int

The preferred mode to use for speech recognition.

Public constructors

Builder

Builder()

Public functions

Public properties

executor

var executorExecutor?

The Executor to use, if not set, an internal background thread pool will be used.

locale

var localeLocale

The locale to use for speech recognition.

preferredMode

@SpeechRecognizerOptions.Mode
var preferredModeInt

The preferred mode to use for speech recognition.