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.Conversation.v1.Conversation Class Reference

This class wraps the Watson Conversation service. Conversation Service More...

Inheritance diagram for IBM.Watson.DeveloperCloud.Services.Conversation.v1.Conversation:
IBM.Watson.DeveloperCloud.Services.IWatsonService

Public Member Functions

 Conversation (Credentials credentials)
 
delegate void OnMessage (object resp, string customData)
 The callback delegate for the Message() function. More...
 
bool Message (OnMessage callback, string workspaceID, string input, string customData=default(string))
 Message the specified workspaceId, input and callback. More...
 
bool Message (OnMessage callback, string workspaceID, MessageRequest messageRequest, string customData=default(string))
 Message the specified workspaceId, input and callback. 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 Watson Conversation service. Conversation Service

Constructor & Destructor Documentation

IBM.Watson.DeveloperCloud.Services.Conversation.v1.Conversation.Conversation ( Credentials  credentials)
inline

Member Function Documentation

string IBM.Watson.DeveloperCloud.Services.Conversation.v1.Conversation.GetServiceID ( )
inline
bool IBM.Watson.DeveloperCloud.Services.Conversation.v1.Conversation.Message ( OnMessage  callback,
string  workspaceID,
string  input,
string  customData = default(string) 
)
inline

Message the specified workspaceId, input and callback.

Parameters
workspaceIDWorkspace identifier.
inputInput.
callbackCallback.
customDataCustom data.
bool IBM.Watson.DeveloperCloud.Services.Conversation.v1.Conversation.Message ( OnMessage  callback,
string  workspaceID,
MessageRequest  messageRequest,
string  customData = default(string) 
)
inline

Message the specified workspaceId, input and callback.

Parameters
callbackCallback.
workspaceIDWorkspace identifier.
messageRequestMessage request object.
customDataCustom data.
Returns
delegate void IBM.Watson.DeveloperCloud.Services.Conversation.v1.Conversation.OnMessage ( object  resp,
string  customData 
)

The callback delegate for the Message() function.

Parameters
respThe response object to a call to Message().

Property Documentation

Credentials IBM.Watson.DeveloperCloud.Services.Conversation.v1.Conversation.Credentials
getset

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

string IBM.Watson.DeveloperCloud.Services.Conversation.v1.Conversation.Url
getset

Gets and sets the endpoint URL for the service.

string IBM.Watson.DeveloperCloud.Services.Conversation.v1.Conversation.VersionDate
getset

Gets and sets the versionDate of the service.


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