Android 12 Developer Preview is here! Try it out, and give us your feedback!

SpeechOrbView

open class SpeechOrbView : SearchOrbView
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.widget.FrameLayout
   ↳ androidx.leanback.widget.SearchOrbView
   ↳ androidx.leanback.widget.SpeechOrbView

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

Summary

Public constructors
<init>(context: Context!)

<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!, attrs: AttributeSet!, defStyle: Int)

Public methods
open Unit

Sets default listening state orb color.

open Unit

Sets default not-listening state orb color.

open Unit

Sets the sound level while listening to speech.

open Unit

Sets the view to display listening state.

open Unit

Sets the view to display the not-listening state.

Inherited functions

Public constructors

<init>

SpeechOrbView(context: Context!)

<init>

SpeechOrbView(
    context: Context!