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


可视化正在进行的语音识别的状态的子类 SearchOrbView

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)

在听语音时设定声音水平。

void showListening()

设置视图以显示监听状态。

void showNotListening()

将视图设置为显示非监听状态。

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)

在听语音时设定声音水平。

Parameters
level int

showListening

void showListening ()

设置视图以显示监听状态。

showNotListening

void showNotListening ()

将视图设置为显示非监听状态。

Hooray!