Stay organized with collections Save and categorize content based on your preferences.
added in version 22.1.0
belongs to Maven artifact


public class SpeechOrbView
extends SearchOrbView

   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout

A subclass of SearchOrbView that visualizes the state of an ongoing speech recognition.


Inherited constants

From class android.view.ViewGroup
From class android.view.View

Inherited fields

From class android.view.View

Public constructors

SpeechOrbView(Context context)
SpeechOrbView(Context context, AttributeSet attrs)
SpeechOrbView(Context context, AttributeSet attrs, int defStyle)

Public methods

void setListeningOrbColors(SearchOrbView.Colors colors)

Sets default listening state orb color.

void setNotListeningOrbColors(SearchOrbView.Colors colors)

Sets default not-listening state orb color.

void setSoundLevel(int level)

Sets the sound level while listening to speech.

void showListening()

Sets the view to display listening state.

void showNotListening()

Sets the view to display the not-listening state.

Inherited methods

From class
From class android.widget.FrameLayout
From class android.view.ViewGroup