Most visited

Recently visited

SpeechOrbView

public class SpeechOrbView
extends SearchOrbView

java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ android.support.v17.leanback.widget.SearchOrbView
           ↳ android.support.v17.leanback.widget.SpeechOrbView


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

Summary

Inherited XML attributes

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

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 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 android.support.v17.leanback.widget.SearchOrbView
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.view.View.OnClickListener
From interface android.view.ViewParent
From interface android.view.ViewManager
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.accessibility.AccessibilityEventSource

Public constructors

SpeechOrbView

SpeechOrbView (Context context)

Parameters
context Context

SpeechOrbView

SpeechOrbView (Context context, 
                AttributeSet attrs)

Parameters
context Context
attrs AttributeSet

SpeechOrbView

SpeechOrbView (Context context, 
                AttributeSet attrs, 
                int defStyle)

Parameters
context Context
attrs AttributeSet
defStyle int

Public methods

setSoundLevel

void setSoundLevel (int level)

Sets the sound level while listening to speech.

Parameters
level int

showListening

void showListening ()

Sets the view to display listening state.

showNotListening

void showNotListening ()

Sets the view to display the not-listening state.

Hooray!