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.Services.ToneAnalyzer.v3.ToneAnalyzer Class Reference

This class wraps the Tone Analyzer service. Tone Analyzer Service More...

Inheritance diagram for IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3.ToneAnalyzer:
IBM.Watson.DeveloperCloud.Services.IWatsonService

Public Member Functions

 ToneAnalyzer (Credentials credentials)
 
delegate void OnGetToneAnalyzed (ToneAnalyzerResponse resp, string data)
 The Get Tone Analyzed callback delegate. More...
 
bool GetToneAnalyze (OnGetToneAnalyzed callback, string text, string data=null)
 Gets the tone analyze. More...
 
string GetServiceID ()
 <exclude> More...
 

Properties

string Url [get, set]
 Gets and sets the endpoint URL for the service. More...
 
string VersionDate [get, set]
 Gets and sets the versionDate of the service. More...
 
Credentials Credentials [get, set]
 Gets and sets the credentials of the service. Replace the default endpoint if endpoint is defined. More...
 

Detailed Description

This class wraps the Tone Analyzer service. Tone Analyzer Service

Constructor & Destructor Documentation

IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3.ToneAnalyzer.ToneAnalyzer ( Credentials  credentials)
inline

Member Function Documentation

string IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3.ToneAnalyzer.GetServiceID ( )
inline
bool IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3.ToneAnalyzer.GetToneAnalyze ( OnGetToneAnalyzed  callback,
string  text,
string  data = null 
)
inline

Gets the tone analyze.

Returns
true, if tone analyze was gotten, false otherwise.
Parameters
callbackCallback.
textText.
dataData.
delegate void IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3.ToneAnalyzer.OnGetToneAnalyzed ( ToneAnalyzerResponse  resp,
string  data 
)

The Get Tone Analyzed callback delegate.

Parameters
resp
data

Property Documentation

Credentials IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3.ToneAnalyzer.Credentials
getset

Gets and sets the credentials of the service. Replace the default endpoint if endpoint is defined.

string IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3.ToneAnalyzer.Url
getset

Gets and sets the endpoint URL for the service.

string IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3.ToneAnalyzer.VersionDate
getset

Gets and sets the versionDate of the service.


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