Watson Developer Cloud Unity SDK  1.0.0
The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems.
IBM.Watson.DeveloperCloud.DataTypes.SpeechToTextData Class Reference

This class is for SpeechToText results. More...

Inheritance diagram for IBM.Watson.DeveloperCloud.DataTypes.SpeechToTextData:
IBM.Watson.DeveloperCloud.Widgets.Widget.Data

Public Member Functions

 SpeechToTextData ()
 Default constructor. More...
 
 SpeechToTextData (SpeechRecognitionEvent result)
 Data constructor. More...
 
override string GetName ()
 Name of this data type. More...
 

Public Attributes

string _Text = null
 

Properties

SpeechRecognitionEvent Results [get, set]
 The Result object. More...
 
bool IsFinal [get]
 Gets a value indicating whether the result text is final. More...
 
string Text [get]
 Gets the highest confident text. More...
 
- Properties inherited from IBM.Watson.DeveloperCloud.Widgets.Widget.Data
string Name [get]
 Name of this data type. More...
 

Detailed Description

This class is for SpeechToText results.

Constructor & Destructor Documentation

IBM.Watson.DeveloperCloud.DataTypes.SpeechToTextData.SpeechToTextData ( )
inline

Default constructor.

IBM.Watson.DeveloperCloud.DataTypes.SpeechToTextData.SpeechToTextData ( SpeechRecognitionEvent  result)
inline

Data constructor.

Parameters
resultThe SpeechToText results.

Member Function Documentation

override string IBM.Watson.DeveloperCloud.DataTypes.SpeechToTextData.GetName ( )
inlinevirtual

Name of this data type.

Returns
The readable name.

Implements IBM.Watson.DeveloperCloud.Widgets.Widget.Data.

Member Data Documentation

string IBM.Watson.DeveloperCloud.DataTypes.SpeechToTextData._Text = null

Property Documentation

bool IBM.Watson.DeveloperCloud.DataTypes.SpeechToTextData.IsFinal
get

Gets a value indicating whether the result text is final.

true if the result text is final; otherwise, false.

SpeechRecognitionEvent IBM.Watson.DeveloperCloud.DataTypes.SpeechToTextData.Results
getset

The Result object.

string IBM.Watson.DeveloperCloud.DataTypes.SpeechToTextData.Text
get

Gets the highest confident text.

The text with highest confidence or final text


The documentation for this class was generated from the following file: