Assets/Watson/Scripts/Services/SpeechToText/SpeechToText.cs
/// <summary>
/// Lists information about all custom language models that are owned by the calling user. Use the language query parameter to see all custom models for the specified language; omit the parameter to see all custom models for all languages.
/// Note: This method is currently a beta release that is available for US English only.
/// </summary>
/// <param name="callback">The callback.</param>
/// <param name="language">The language for which custom models are to be returned. Currently, only en-US (the default) is supported.</param>
/// <param name="customData">Optional custom data.</param>
/// <returns></returns>
Lists information about all custom language models that are owned by the calling user. Use the language query parameter to see all custom models for the specified language; omit the parameter to see all custom models for all languages.
Note: This method is currently a beta release that is available for US English only.
Lists information about all custom language models that are owned by the calling user . Use the language query parameter to see all custom models for the specified language ; omit the parameter to see all custom models for all languages . Note : This method is currently a beta release that is available for US English only .
public bool GetCustomizations(GetCustomizationsCallback callback, string language = "en-US", string customData = default(string))
		{
			if (callback == null)
				throw new ArgumentNullException("callback");
			GetCustomizationsReq req = new GetCustomizationsReq();
			req.Callback = callback;
			req.Data = customData;
			req.Language = language;
			req.Parameters["language"] = language;
			req.OnResponse = OnGetCustomizationsResp;
			RESTConnector connector = RESTConnector.GetConnector(SERVICE_ID, "/v1/customizations");
			if (connector == null)
				return false;
			return connector.Send(req);
		}
public bool GetCustomizations ( GetCustomizationsCallback callback , string language = " " , string customData = default ( string ) ) { if ( callback == null ) throw new ArgumentNullException ( " " ) ; GetCustomizationsReq req = new GetCustomizationsReq ( ) ; req . Callback = callback ; req . Data = customData ; req . Language = language ; req . Parameters [ " " ] = language ; req . OnResponse = OnGetCustomizationsResp ; RESTConnector connector = RESTConnector . GetConnector ( SERVICE_ID , " " ) ; if ( connector == null ) return false ; return connector . Send ( req ) ; }
Lists information about all custom language models that are owned by the calling user.
Lists information about all custom language models that are owned by the calling user .
None
callback
GetCustomizationsCallback
None
language
string
The language for which custom models are to be returned. Currently, only en-US (the default) is supported.
The language for which custom models are to be returned . Currently only en - US ( the default ) is supported .
customData
string
Optional custom data.
Optional custom data .