Package 

Class SpeechToTextButtonRecordingContentParams

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Function0<Unit> onClick
      private final Float rmsdB
    • Method Summary

      Modifier and Type Method Description
      final Function0<Unit> getOnClick()
      final Float getRmsdB()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpeechToTextButtonRecordingContentParams

        SpeechToTextButtonRecordingContentParams(Function0<Unit> onClick, Float rmsdB)
        Parameters:
        onClick - Called when the user taps the recording content to stop recording.
        rmsdB - The current audio level in decibels, for visualization.