Class SpeechToTextInfo

  • All Implemented Interfaces:

    
    public final class SpeechToTextInfo
    
                        

    Voice speech-to-text info.

    Contains the conversion status, converted text content, and visibility flag.

    Usage Example:

    override fun onSpeechToTextCompleted(info: SpeechToTextInfo, messageId: String, error: NCError?) {
        if (error == null && info.status == SpeechToTextStatus.SUCCESS) {
            println("speech-to-text Success: ${info.text}")
        }
    }
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final SpeechToTextStatus getStatus() Voice speech-to-text Status
      final String getText() Converted Text Content
      final Boolean isVisible() Whether visible
      • Methods inherited from class java.lang.Object

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

      • SpeechToTextInfo

        SpeechToTextInfo()