DashMiddlewareManager

DashMiddlewareManager is a way to change the functional components of the Dash SDK.

Functions

Link copied to clipboard

Set the default Speech to Text middleware.

Link copied to clipboard

Set the default Speech to Text middleware.

Link copied to clipboard
abstract fun setUserInputMiddleware(middleware: UserInputOwnerMiddleware)

Set the Speech to Text middleware. There can only be one UserInputOwnerMiddleware at a time.

Link copied to clipboard
abstract fun setVoicePlayerMiddleware(middleware: VoicePlayerMiddleware)

Set the Text to Speech middleware. There can only be one VoicePlayerMiddleware at a time.