Assets/Watson/Scripts/Services/NaturalLanguageClassifier/NaturalLanguageClassifier.cs
/// <summary>
/// Returns an array of all classifiers to the callback function.
/// </summary>
/// <param name="callback">The callback to invoke with the Classifiers object.</param>
/// <returns>Returns true if the request is submitted.</returns>
Returns an array of all classifiers to the callback function.
Returns an array of all classifiers to the callback function .
public bool GetClassifiers(OnGetClassifiers callback)
        {
            if (callback == null)
                throw new ArgumentNullException("callback");
            RESTConnector connector = RESTConnector.GetConnector(SERVICE_ID, "/v1/classifiers");
            if (connector == null)
                return false;
            GetClassifiersReq req = new GetClassifiersReq();
            req.Callback = callback;
            req.OnResponse = OnGetClassifiersResp;
            return connector.Send(req);
        }
public bool GetClassifiers ( OnGetClassifiers callback ) { if ( callback == null ) throw new ArgumentNullException ( " " ) ; RESTConnector connector = RESTConnector . GetConnector ( SERVICE_ID , " " ) ; if ( connector == null ) return false ; GetClassifiersReq req = new GetClassifiersReq ( ) ; req . Callback = callback ; req . OnResponse = OnGetClassifiersResp ; return connector . Send ( req ) ; }
Returns an array of all classifiers to the callback function.
Returns an array of all classifiers to the callback function .
Returns true if the request is submitted.
Returns true if the request is submitted .
callback
OnGetClassifiers
The callback to invoke with the Classifiers object.
The callback to invoke with the Classifiers object .